DocumentAddTemplate(Single, Single) Method

Adds 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 AddTemplate(
	float width,
	float height
)

Parameters

width  Single
The template width
height  Single
The template height

Return Value

Template
The newly added template

See Also