TemplateCollectionAddNewTemplate Method (RectangleF) |
Add a new template with the specified bounds to the document templates collection.
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic 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