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

# TPaperSize

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TPaperSize - the size of the paper to be used for the current document with the current printer

## Declaration

Source position: printers.pas line 141

`type TPaperSize = class(TObject)`
`public`
`constructor Create(); overload;` |  |
`destructor Destroy; override;` |  |
`property DefaultPapers: Boolean; [r]`
`property Width: Integer; [r]`
`property Height: Integer; [r]`
`property PaperName: String; [rw]` |  | PaperName - the name for the paper being used
`property DefaultPaperName: String; [r]` |  | DefaultPaperName - the default name for this size of paper
`property PaperRect: TPaperRect; [r]` |  | PaperRect - the rectangle dimensions for this paper
`property SupportedPapers: TStrings; [r]` |  | SupportedPapers - the list of supported papers for this pape size
`property PaperRectOf: TPaperRect; [r]` |  | PaperRectOf - the Paper Rect corresponding to the given name
`end;`

## Inheritance

`TPaperSize` |  | TPaperSize - the size of the paper to be used for the current document with the current printer
`TObject`

## Description

TPaperSize - the size of paper to be used for the current document with the current printer

The width and length are in points; there are 72 points per inch.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .