Click or drag to resize
Pdf Library for .NET

PdfPageClientRectangle Property

Gets the drawable area of this page, in page coordinates: what is left of the sheet once the margins and the document header and footer are taken out.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public override RectangleF ClientRectangle { get; }

Property Value

RectangleF
Remarks
Read it whenever you need it — the area shrinks as the document's header and footer are set, so a rectangle read before they are docked describes the whole writable area and one read afterwards describes the content area between the bands. Element coordinates are measured from the rectangle's top-left corner.
See Also