Click or drag to resize
Pdf Library for .NET

PdfCanvas Methods

The PdfCanvas type exposes the following members.

Methods
 NameDescription
Public methodAdd Adds a pdf page element to the canvas.
Public methodCode exampleAddAsync(PdfPageElement) Adds a pdf page element to the canvas without waiting for it to be rendered.
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.
Public methodMeasureString Measures the size of the specified string when rendered with the specified font.
Top
See Also