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

TPrinterCanvas.PaperHeight

Vertical size for the paper selected in the print device.

Declaration

Source position: printers.pas line 127

public property TPrinterCanvas.PaperHeight : Integer
  read GetPaperHeight
  write SetPaperHeight;

Description

PaperHeight is an Integer property which contains the height for the current paper as the number of "Dots" along its vertical axis.

When Printer has been assigned, the Height in its PaperSize property is used as the property value. Otherwise, the existing property value is returned. If the existing value is 0 (zero), the height (in Dots) for the "A4" paper size (in portrait orientation) is used as the property value.

Use PaperWidth to get the width for the paper in Dots along its horizontal axis.

See also

TPrinterCanvas.Printer

  

Device which uses the canvas to print a document.

TPrinterCanvas.PaperWidth

  

Horizontal size for the paper selected in the print device.

TPrinter.PaperSize

  

Contains paper sizes available and/or selected for the print device.


Version 4.0 Generated 2025-05-03 Home