[Overview][Types][Classes][Variables][Index] Reference for unit 'Printers' (#lcl)

TPrinter.XDPI

Number of DPI (Dots per Inch) on the horizontal axis for the selected device.

Declaration

Source position: printers.pas line 343

public property TPrinter.XDPI : Integer
  read GetXDPI;

Description

XDPI is a read-only Integer property that contains the horizontal resolution for the print device in DPI (Dots per Inch). The value in XDPI is passed to the Canvas for the print device, and used to determine the paper width for the printer canvas.

Remark: In TPrinter, the value for the property is always 1. The read access specifier (GetXDPI) 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

TPrinter.GetXDPI

  

Gets the value for the XDPI property.

TPrinter.YDPI

  

Number of DPI (Dots per Inch) on the vertical axis for the selected device.

TPrinterCanvas.Printer

  

Device which uses the canvas to print a document.

TPrinterCanvas.XDPI

  

DPI (Dots per Inch) in the horizontal direction for the print device.


Version 3.2 Generated 2024-02-25 Home