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

Syntax

C#
public Template AddNewTemplate(
	float width,
	float height
)
Visual Basic
Public Function AddNewTemplate ( 
	width As Single,
	height As Single
) As Template
Visual C++
public:
Template^ AddNewTemplate(
	float width, 
	float height
)

Parameters

width
Type: System..::..Single
The width in points of the template.
height
Type: System..::..Single
The height in points of the template.

Return Value

Type: Template
The newly added template.

See Also