 |
PdfTemplateCollectionAdd(Single, Single) Method |
Adds a new template with the specified width and height. The template location is the top-left
corner of the page; use
Add(RectangleF) to specify another location.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfTemplate Add(
float width,
float height
)
Public Function Add (
width As Single,
height As Single
) As PdfTemplate
Parameters
- width Single
- The template width, in points.
- height Single
- The template height, in points.
Return Value
PdfTemplateThe newly created template.
Remarks
This edition ships no concrete page-element type, so there is no element that
can be passed to Add. Use the full SelectPdf edition when a page or a
template has to carry drawn content.
See Also