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.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public Template AddNewTemplate(
	float width,
	float height
)

Parameters

width  Single
The width in points of the template.
height  Single
The height in points of the template.

Return Value

Template
The newly added template.

See Also