DPI
Printing, VCL, document creation
Description
The resolution of the canvas coordinate system in pixels per inch, from 24 through 2400 with a default of 96
Each page canvas measures the active page size in points multiplied by DPI/72, the canvas font PixelsPerInch is set to the same value, and the value is passed to the conversion that turns the canvas into a PDF page
Syntax
Delphi
Property TPDFlibPrinter.DPI: Integer Default 96;Remarks
A value outside 24 through 2400 raises EPDFlibPrinter
Assigning the property while a job is active raises EPDFlibPrinter
Because the canvas size and the conversion use the same resolution, changing DPI changes the pixel grid of the canvas and not the page size in points
See also
TPDFlibPrinter, GetCanvasDC, LoadFromCanvasDC, NewPageFromCanvasDC