Click or drag to resize
Pdf Library for .NET

PdfCanvasClientRectangle Property

Gets the drawable area of the canvas. The page margins (and, for a page, the document header and footer) are excluded.

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

Property Value

RectangleF
Remarks
On a page the rectangle is given in page coordinates, so its location is the top-left corner of the writable area — inside the margins and below a docked header. Element coordinates are measured from that corner, so an element placed at (0, 0) starts there.
See Also