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

TPrinter.PaperSize

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

Declaration

Source position: printers.pas line 325

public property TPrinter.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

TPrinter.PageHeight

  

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

TPrinter.PageWidth

  

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

TPaperSize

  

Size for a paper used on an attached printer device.


Version 3.2 Generated 2024-02-25 Home