|
PdfTemplateCollectionAdd(Single, Single) Method
|
Adds a new template with the specified width and height to the pdf document templates collection.
Namespace: SelectPdfAssembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntaxpublic PdfTemplate Add(
float width,
float height
)
Public Function Add (
width As Single,
height As Single
) As PdfTemplate
Parameters
- width Single
- The pdf template width.
- height Single
- The pdf template height.
Return Value
PdfTemplateThe newly added pdf template.
Remarks
The template location is top left corner of the pdf page. Use
Add(RectangleF) to specify another location for the template.
See Also