Click or drag to resize
Pdf Library for .NET

PdfDocumentAddTemplate(Single, Single) Method

Creates a template with the specified dimensions and adds it to the pdf document.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfTemplate AddTemplate(
	float width,
	float height
)

Parameters

width  Single
The width of the template.
height  Single
The height of the template.

Return Value

PdfTemplate
The newly created template.
Remarks
This is a shortcut for Add(Single, Single).
See Also