Click or drag to resize
TemplateCollection Class
The PDF document templates. A document template is repeated on each page of the document.
Inheritance Hierarchy
SystemObject
  ExpertPdf.PdfCreatorTemplateCollection

Namespace: ExpertPdf.PdfCreator
Assembly: ExpertPdf.PdfCreator (in ExpertPdf.PdfCreator.dll) Version: 11.0.0
Syntax
public class TemplateCollection

The TemplateCollection type exposes the following members.

Methods
  NameDescription
Public methodAddNewTemplate(RectangleF)
Add a new template with the specified bounds to the document templates collection.
Public methodAddNewTemplate(Single, Single)
Add a new template with the specified width and height to the document templates collection. The template location is top left corner of the page.
Public methodGetEnumerator
Gets the collection enumerator.
Top
Properties
  NameDescription
Public propertyCount
The number of templates in collection.
Public propertyFooterTemplate
Represents the default PDF document footer template. This footer is automatically considered when calculating the available space for rendering in a PDF page. This template is automatically docked to the bottom of the PDF page.
Public propertyHeaderTemplate
Represents the default PDF document header template. This header is automatically considered when calculating the available space for drawing in a PDF page. This template is automatically docked to the top of the PDF page.
Public propertyItem
Gets the template at the specified index zero base index.
Public propertyLeftTemplate
Represents the default PDF document left template. This left template is automatically considered when calculating the available space for rendering in a PDF page. This template is automatically docked to the left side of the PDF page.
Public propertyRightTemplate
Represents the default PDF document right template. This right template is automatically considered when calculating the available space for rendering in a PDF page. This template is automatically docked to the right side of the PDF page.
Top
See Also