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

TPrinterCanvas.YDPI

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

Declaration

Source position: printers.pas line 135

public property TPrinterCanvas.YDPI : Integer
  read GetYDPI
  write SetYDPI;

Description

YDPI is an Integer property which indicates the DPI (Dots per Inch) resolution for the vertical 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 YDPI 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.

YDPI is used to calculate the default value for the PaperHeight property.

Use XDPI for the resolution of the print device along the horizontal axis.

See also

TPrinterCanvas.Printer

  

Device which uses the canvas to print a document.

TPrinterCanvas.PaperHeight

  

Vertical size for the paper selected in the print device.

TPrinterCanvas.XDPI

  

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

TPrinter.XDPI

  

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

TPrinter.YDPI

  

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


Version 4.0 Generated 2025-05-03 Home