TPrinter.YDPI property
Number of DPI (Dots per Inch) on the vertical axis for the selected device.
Declaration
property YDPI: Integer read GetYDPI;Description
YDPI is a read-only
Integer property that contains the
vertical resolution for the print device in DPI (Dots per Inch). The value in
YDPI is passed to the
Canvas for the print device, and used to
determine the paper width for the printer canvas and the PPI (Pixels per
Inch) value for its Font.
In
TPrinter, the value for the property is always 1. The
read access specifier (GetYDPI) must be overridden in a descendent
class to get the property value using the facilities available in the
operating system / widgetset / printer-related technology for the
implementation.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
