TemplateCollectionAddNewTemplate(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 AddNewTemplate(
float width,
float height
)
Public Function AddNewTemplate (
width As Single,
height As Single
) As Template
Parameters
- width Single
- The width in points of the template.
- height Single
- The height in points of the template.
Return Value
Template
See Also