Template Class |
Namespace: ExpertPdf.HtmlToPdf.PdfDocument
The Template type exposes the following members.
Name | Description | |
---|---|---|
Anchoring |
Gets or sets the template anchoring inside the PDF page
| |
Bounds |
Gets or sets the template bounds rectangle. Setting this property for
a default template has no effect.
| |
BringToFront |
When true, this property makes the template to be rendered in front of the
page main content. By default this property is true.
| |
ClientRectangle |
Gets the drawable area of the renderer. The margins, document header and footer are excluded.
(Inherited from ElementsRenderer.) | |
Docking |
Gets or sets the template docking inside the PDF page
| |
DrawOnEvenPages |
Set this property to indicate whether the template is drawn or not on the odd pages.
By default this property is true.
| |
DrawOnFirstPage |
Set this property to indicate whether the template is drawn or not on the first page.
By default this property is true.
| |
DrawOnOddPages |
Set this property to indicate whether the template is drawn or not on the odd pages.
By default this property is true.
| |
Height |
Gets or sets template height for a custom template.
Setting this property for a default document template has no effect.
| |
PageNumberingPageCountIncrement |
Gets or sets an increment for the total number of pages displayed using &P; variable in a TextElement
added to the template.
| |
PageNumberingStartIndex |
Gets or sets the start index for page numbering using the &p; variable in a TextElement
added to the template.
| |
SendToBackground |
When true, this property makes the template to be rendered in the back of the
page main content. By default this property is false.
| |
Width |
Gets or sets template width for a custom template.
Setting this property for a default document template has no effect.
|
Name | Description | |
---|---|---|
AddElement |
Add a page element to the template
(Overrides ElementsRendererAddElement(PageElement).) | |
MeasureString |
Measures the size of the specified string when rendered with the specified font.
(Inherited from ElementsRenderer.) |