Sign in Join
FPDoc Onlineexperiment

TPrinterCanvas.PaperHeight property

Member of TPrinterCanvaspublicIn unit Printers

Vertical size for the paper selected in the print device.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.