|
PdfDocumentAddTemplate Method (Single, Single) |
Adds a new template with the specified width and height to the pdf document templates collection.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax public PdfTemplate AddTemplate(
float width,
float height
)
Public Function AddTemplate (
width As Single,
height As Single
) As PdfTemplate
Parameters
- width
- Type: SystemSingle
The pdf template width. - height
- Type: SystemSingle
The pdf template height.
Return Value
Type:
PdfTemplateThe newly added pdf template.
Remarks
The template location is top left corner of the pdf page. Use
AddTemplate(RectangleF) to specify another location for the template.
See Also