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

TPrinter.YDPI

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

Declaration

Source position: printers.pas line 344

public property TPrinter.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.

Remark: 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

TPrinter.GetYDPI

  

Gets the value for the YDPI property.

TPrinter.XDPI

  

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

TPrinterCanvas.YDPI

  

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

TPrinterCanvas.Printer

  

Device which uses the canvas to print a document.

TCanvas.Font

  

Contains the Font used to render text on the drawing surface.


Version 3.2 Generated 2024-02-25 Home