TemplateCollectionAddNewTemplate Method (RectangleF) |
Add a new template with the specified bounds to the document templates collection.
Namespace:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public Template AddNewTemplate(
RectangleF bounds
)
Public Function AddNewTemplate (
bounds As RectangleF
) As Template
Parameters
- bounds
- Type: System.DrawingRectangleF
The template element bounds in points.
Return Value
Type:
TemplateThe newly added template.
See Also