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: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.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