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 AddTemplate(
	RectangleF bounds
)
Visual Basic
Public Function AddTemplate ( 
	bounds As RectangleF
) As Template
Visual C++
public:
Template^ AddTemplate(
	RectangleF bounds
)

Parameters

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

Return Value

Type: Template
The newly added template.

See Also