Sign in Join
FPDoc Onlineexperiment

TPrinter.PageHeight property

Member of TPrinterpublicIn unit Printers

Height of the usable area on the selected paper size in "Dots"

Declaration

pascal
property PageHeight: Integer read GetPageHeight;

Description

PageHeight is a read-only Integer property which contains the usable height for the selected paper size as a number of "Dots" for the native printer resolution.

PageHeight uses the PaperSize property to retrieve the work area for the selected paper size. The property value contains the difference between the Bottom and Top coordinates in the work area rectangle.

The property value is 0 (zero) when the Printers property is empty. You cannot access a selected paper size without a selected printer.

PageHeight is used to derive the page height in TPrinterCanvas when a TPrinter instance has been assigned.

See also

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