Click or drag to resize
TemplateCollectionAddNewTemplate 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.PdfDocument
Assembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public Template AddNewTemplate(
	float width,
	float height
)

Parameters

width
Type: SystemSingle
The width in points of the template.
height
Type: SystemSingle
The height in points of the template.

Return Value

Type: Template
See Also