Click or drag to resize

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.PdfDocument
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public Template AddTemplate(
	float width,
	float height
)

Parameters

width
Type: SystemSingle
The template width
height
Type: SystemSingle
The template height

Return Value

Type: Template
The newly added template
See Also