Class PageContext
Information passed to header/footer callbacks.
public sealed class PageContext
- Inheritance
-
PageContext
- Inherited Members
Properties
Canvas
The canvas to draw the header, footer or background with.
public PdfCanvas Canvas { get; }
Property Value
ContentArea
The area inside the margins.
public PdfRectangle ContentArea { get; }
Property Value
Page
The page being drawn on.
public PdfPage Page { get; }
Property Value
PageArea
The full page (media box).
public PdfRectangle PageArea { get; }
Property Value
PageNumber
1-based page number within the pages created by the layout document.
public int PageNumber { get; }
Property Value
TotalPages
Number of pages created by the layout document; 0 in PageStarted, where it is not yet known.
public int TotalPages { get; }