DocumentAddTemplate Method (Single, Single) |
Add a new template with the specified width and height to the document templates collection.
The template location is top left corner of the page.
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic Template AddTemplate(
float width,
float height
)
Public Function AddTemplate (
width As Single,
height As Single
) As Template
Parameters
- width
- Type: SystemSingle
The template width - height
- Type: SystemSingle
The template height
Return Value
Type:
TemplateThe newly added template
See Also