Click or drag to resize
Pdf Library for .NET

PdfCanvas Class

Base class for classes that can render pdf page elements.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfCanvas
    SelectPdfPdfPage
    SelectPdfPdfTemplate

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax
public abstract class PdfCanvas

The PdfCanvas type exposes the following members.

Constructors
  NameDescription
Protected methodPdfCanvas
Top
Properties
  NameDescription
Public propertyClientRectangle
Gets the drawable area of the canvas. The margins, pdf document header and footer are excluded.
Top
Methods
  NameDescription
Public methodAdd
Adds a pdf page element to the canvas.
Public methodMeasureString
Measures the size of the specified string when rendered with the specified font.
Top
Remarks
PdfCanvas is the base class for PdfPage and PdfTemplate. PdfPage should be used to add elements to the pdf document only in a certain page at a certain position. PdfTemplate should be used to add elements to the pdf document that will appear in more than one page.
See Also