|
PdfDocumentAddTemplate(Single, Single) Method
|
Adds a new template with the specified width and height to the pdf document templates collection.
Namespace: SelectPdfAssembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntaxpublic PdfTemplate AddTemplate(
float width,
float height
)
Public Function AddTemplate (
width As Single,
height As Single
) As PdfTemplate
Parameters
- width Single
- The pdf template width.
- height Single
- The pdf template height.
Return Value
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