Add a new template with the specified bounds to the document templates collection.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public Template AddNewTemplate(
	RectangleF bounds
)
Visual Basic
Public Function AddNewTemplate ( 
	bounds As RectangleF
) As Template
Visual C++
public:
Template^ AddNewTemplate(
	RectangleF bounds
)

Parameters

bounds
Type: System.Drawing..::..RectangleF
The template element bounds in points.

Return Value

Type: Template
The newly added template.

See Also