Click or drag to resize
Pdf Library for .NET

PdfTemplate Methods

The PdfTemplate type exposes the following members.

Methods
 NameDescription
Public methodCode exampleAdd Adds a pdf element to the template.
(Overrides PdfCanvasAdd(PdfPageElement))
Public methodCode exampleAddAsync(PdfPageElement) Adds a pdf page element to the canvas without waiting for it to be rendered.
(Inherited from PdfCanvas)
Public methodAddAsync(PdfPageElement, CancellationToken) Adds a pdf page element to the canvas without waiting for it to be rendered, stopping when the specified token is cancelled.
(Inherited from PdfCanvas)
Public methodMeasureString Measures the size of the specified string when rendered with the specified font.
(Inherited from PdfCanvas)
Top
See Also