Click or drag to resize
Pdf Library for .NET

PdfTemplate Properties

The PdfTemplate type exposes the following members.

Properties
 NameDescription
Public propertyAnchoring Gets or sets the template anchoring settings inside the pdf page.
Public propertyBackground Controls whether the template is rendered behind the page main content. The default is false.
Public propertyBounds Gets or sets the template bounds rectangle. Has no effect for the default header / footer.
Public propertyClientRectangle Gets the drawable area of the canvas. The page margins (and, for a page, the document header and footer) are excluded.
(Inherited from PdfCanvas)
Public propertyDisplayOnEvenPages Controls the visibility of the template on the even numbered pages of the pdf document.
Public propertyDisplayOnFirstPage Controls the visibility of the template on the first page of the pdf document. This property has priority over DisplayOnOddPages. The default value is true.
Public propertyDisplayOnOddPages Controls the visibility of the template on the odd numbered pages of the pdf document.
Public propertyDocking Gets or sets the template docking style inside the pdf page.
Public propertyFirstPageNumber Controls the page number for the first page being rendered. The default is 1.
Public propertyForeground Controls whether the template is rendered in front of the page main content. The default is true.
Public propertyHeight Gets or sets the height for a custom template. Has no effect for the default header / footer.
Public propertyLFN Gets or sets the path of the diagnostic log file written while the html content added to this template is rendered. An html element that has a log file of its own keeps it. When unset, a template obtained through the document's Header, Footer or AddTemplate(Single, Single) uses the document's log file. When none is set, no log is written.
Public propertyTotalPagesOffset Controls the total number of pages offset in the pdf document.
Public propertyWidth Gets or sets the width for a custom template. Has no effect for the default header / footer.
Top
See Also