Winnovative Logo

Template Class

Winnovative Client for .NET Core
Represents a template element which can be repeated in all PDF document pages. You can use variables like current PDF page number and the total number of PDF pages in a template.
Inheritance Hierarchy

SystemObject
  WinnovativeClientElementsRenderer
    WinnovativeClientTemplate

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class Template : ElementsRenderer

The Template type exposes the following members.

Properties

  NameDescription
Public propertyAnchoring
Gets or sets the template anchoring inside the PDF page
Public propertyBringToFront
When true, this property makes the template to be rendered in front of the page main content. By default this property is true.
Public propertyDocking
Gets or sets the template docking inside the PDF page
Public propertyDrawOnEvenPages
Set this property to indicate whether the template is drawn or not on the even pages. By default this property is true.
Public propertyDrawOnFirstPage
Set this property to indicate whether the template is drawn or not on the first page. By default this property is true.
Public propertyDrawOnOddPages
Set this property to indicate whether the template is drawn or not on the odd pages. By default this property is true.
Public propertyHeight
Gets template height for a custom template
Public propertyIsFooter
Gets a flag indicating if this template was created as document footer
Public propertyIsHeader
Gets a flag indicating if this template was created as document header
Public propertyPageNumberingPageCountIncrement
Gets or sets an increment for the total number of pages displayed using &P; variable in a TextElement added to the template.
Public propertyPageNumberingStartIndex
Gets or sets the start index for page numbering using the &p; variable in a TextElement added to the template.
Public propertyParentDocument
The parent document of this renderer
(Inherited from ElementsRenderer.)
Public propertySendToBackground
When true, this property makes the template to be rendered in the back of the page main content. By default this property is false.
Public propertyWidth
Gets template width for a custom template
Public propertyX
Gets template X location for a custom template
Public propertyY
Gets template Y location for a custom template
Top
Methods

  NameDescription
Public methodAddElement
Adds a PDF page element to this template repeated in each PDF page
(Overrides ElementsRendererAddElement(PageElement).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference