TPrinterCanvas.XDPI property
DPI (Dots per Inch) in the horizontal direction for the print device.
Declaration
property XDPI: Integer read GetXDPI write SetXDPI;Description
XDPI is an
Integer property which indicates the DPI
(Dots per Inch) resolution for the horizontal axis on the print device.
The value for the property is normally provided by the Printer
device using the canvas to render document pages. When Printer is assigned,
the XDPI value in the print device is used as the property value. If Printer
is not assigned, the existing value in the property is used. When the
existing value is 0 (zero) or a negative number, the value
300 is assumed.
A new value assigned to the property is not applied to the Printer device.
XDPI is used to calculate the default value for the PaperWidth
property.
Use YDPI for the resolution of the print device along the vertical axis.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
