Sign in Join
FPDoc Onlineexperiment

TPrinterCanvas.PageHeight property

Member of TPrinterCanvaspublicIn unit Printers

Size of the printable area for the page on the vertical axis.

Declaration

pascal
property PageHeight: Integer read GetPageHeight;

Description

PageHeight is a read-only Integer property with the size for the printable page area on the vertical axis of the page orientation. The value is expressed as the number of "Dots" on the device in Printer.

When Printer has been assigned and HasDefaultMargins is True, the PageHeight property in the device is used. Otherwise, the property value is calculated by subtracting the values in TopMargin and BottomMargin from the PaperHeight for the printer Canvas.

Use PageWidth to get size of the printable page on the horizontal axis for the page orientation.

Use PaperHeight and PaperWidth to get the dimensions for the selected paper in Printer.

See also

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