Sign in Join
FPDoc Onlineexperiment

TPrinter.PaperSize property

Member of TPrinterpublicIn unit Printers

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

Declaration

pascal
property PaperSize: TPaperSize read GetPaperSize;

Description

PaperSize is a read-only TPaperSize property which contains information about papers names and sizes available and/or selected for the print device. PaperSize is used to get a rectangle with the physical size of the paper, or its working area. The rectangle is used to calculate the vales for the PageHeight and PageWidth properties.

PaperSize always contains common page sizes like "Letter", "Legal" and "A4". Other papers may be available depending on the printer selection or the implementation for the print device in a descendent class.

See also

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