Click or drag to resize

PdfPageTemplateElement Class

Describes a page template object that can be used as header/footer, watermark or stamp.
Inheritance Hierarchy
System Object
Spire.Pdf PdfPageTemplateElement

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfPageTemplateElement

The PdfPageTemplateElement type exposes the following members.

Constructors
Name Description
Public method PdfPageTemplateElement(RectangleF)
Creates a new page template.
Public method PdfPageTemplateElement(SizeF)
Creates new page template object.
Public method PdfPageTemplateElement(PointF, SizeF)
Creates a new page template.
Public method PdfPageTemplateElement(RectangleF, PdfNewPage)
Initializes a new instance of theclass.
Public method PdfPageTemplateElement(Single, Single)
Creates a new page template.
Public method PdfPageTemplateElement(PointF, SizeF, PdfNewPage)
Initializes a new instance of theclass.
Public method PdfPageTemplateElement(Single, Single, PdfNewPage)
Creates a new page template.
Public method PdfPageTemplateElement(Single, Single, Single, Single)
Creates a new page template.
Public method PdfPageTemplateElement(Single, Single, Single, Single, PdfNewPage)
Creates a new page template.
Top
Properties
Name Description
Public property Alignment
Gets or sets alignment of the page template element.
Public property Background
Indicates whether the page template is located behind of the page layers or in front of it.
Public property Bounds
Gets or sets bounds of the page template element.
Public property Dock
Gets or sets the dock style of the page template element.
Public property Foreground
Indicates whether the page template is located in front of the page layers or behind of it.
Public property Graphics
Gets graphics context of the page template element.
Public property Height
Gets or sets height of the page template element.
Public property Location
Gets or sets location of the page template element.
Public property Size
Gets or sets size of the page template element.
Public property Width
Gets or sets width of the page template element.
Public property X
Gets or sets X co-ordinate of the template element on the page.
Public property Y
Gets or sets Y co-ordinate of the template element on the page.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also