ExpertPdf Html to Pdf Converter Library
Template Class
NamespacesExpertPdf.HtmlToPdf.PdfDocumentTemplate
ExpertPdf Html to Pdf Converter Library
Represents a document template repeated on each document page
Declaration Syntax
C#Visual BasicVisual C++
public class Template : ElementsRenderer
Public Class Template
	Inherits ElementsRenderer
public ref class Template : public ElementsRenderer
Members
All MembersMethodsProperties



IconMemberDescription
AddElement(PageElement)
Add a page element to the template
(Overrides ElementsRenderer.AddElement(PageElement).)
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.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Height
Gets or sets template height for a custom template. Setting this property for a default document template has no effect.

MeasureString(String, PdfFont)
Measures the size of the specified string when rendered with the specified font.
(Inherited from ElementsRenderer.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Width
Gets or sets template width for a custom template. Setting this property for a default document template has no effect.

Inheritance Hierarchy

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)