DocumentAddTemplate(Single, Single) Method |
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: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic Template AddTemplate(
float width,
float height
)
Public Function AddTemplate (
width As Single,
height As Single
) As Template
Parameters
- width Single
- The template width
- height Single
- The template height
Return Value
TemplateThe newly added template
See Also