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: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public Template AddTemplate( float width, float height ) |
| Visual Basic |
|---|
Public Function AddTemplate ( width As Single, height As Single ) As Template |
| Visual C++ |
|---|
public: Template^ AddTemplate( float width, float height ) |
Parameters
- width
- Type: System..::..Single
The template width
- height
- Type: System..::..Single
The template height
Return Value
Type: TemplateThe newly added template