Canvas
Printing, VCL, document creation
Description
The TCanvas on which the current page is drawn between BeginDoc and EndDoc or Abort
For each page the canvas is attached to a recording device context sized to the active page in pixels, its font PixelsPerInch is set to DPI, and on Windows drawing is clipped to the page rectangle
Syntax
Delphi
Property TPDFlibPrinter.Canvas: TCanvas;Remarks
Read-only; the canvas object is owned by the component
The canvas is detached from its device context whenever a page is committed, so it has no drawing surface while the component is idle
Coordinates are in pixels at DPI; a point is DPI/72 pixels