Represents Pdf Template object.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfTemplate : PdfShapeWidget, [T:sprᝰ]
Public Class PdfTemplate Inherits PdfShapeWidget Implements [T:sprᝰ]
public ref class PdfTemplate : public PdfShapeWidget, [T:sprᝰ]
type PdfTemplate = class inherit PdfShapeWidget interface [T:sprᝰ] end
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| PdfTemplate(SizeF) |
Initializes a new instance of the class.
| |
| PdfTemplate(Single, Single) |
Initializes a new instance of the class.
| |
| PdfTemplate(Single, Single, Boolean) |
Initializes a new instance of the class.
| |
| BeginPageLayout |
Event. Raises before the element should be printed on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfCanvas) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfCanvas, PointF) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfPageBase, PointF) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfCanvas, Single, Single) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfPageBase, PointF, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF, Boolean) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, Single, Single) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, Single, Single, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| DrawInternal(PdfCanvas) | (Overrides PdfGraphicsWidget..::..DrawInternal(PdfCanvas).) | |
| EndPageLayout |
Event. Raises after the element was printed on the page.
(Inherited from PdfLayoutWidget.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetBounds()()()() |
Gets the bounds.
(Inherited from PdfShapeWidget.) | |
| GetBoundsInternal()()()() | (Overrides PdfShapeWidget..::..GetBoundsInternal()()()().) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Graphics |
Gets graphics context of the template.
| |
| Height |
Gets the height of the template.
| |
| Layout(HtmlToPdfLayoutParams) | (Inherited from PdfLayoutWidget.) | |
| Layout(PdfLayoutParams) | (Inherited from PdfShapeWidget.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReadOnly |
Gets a value indicating whether the template is read-only.
| |
| Reset()()()() |
Resets an instance.
| |
| Reset(SizeF) |
Resets the template and sets the specified size.
| |
| Size |
Gets the size of the template.
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| Width |
Gets the width of the template.
|
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Graphics..::..PdfGraphicsWidget
Spire.Pdf.Graphics..::..PdfLayoutWidget
Spire.Pdf.Graphics..::..PdfShapeWidget
Spire.Pdf.Graphics..::..PdfTemplate
Spire.Pdf.Graphics..::..PdfGraphicsWidget
Spire.Pdf.Graphics..::..PdfLayoutWidget
Spire.Pdf.Graphics..::..PdfShapeWidget
Spire.Pdf.Graphics..::..PdfTemplate