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

TPaperSize

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

Size for a paper used for the current document with the current printer.

Declaration

Source position: printers.pas line 147

type TPaperSize = class(TObject)

public

  constructor Create(); overload;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  property DefaultPapers: Boolean; [r]

  

Indicates if default paper sizes have been defined and added to SupportedPapers.

  property Width: Integer; [r]

  

Physical width for the selected paper size.

  property Height: Integer; [r]

  

Physical height for the selected paper size.

  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; [rw]

  

PaperRect - the rectangle dimensions for this paper.

  property SupportedPapers: TStrings; [r]

  

SupportedPapers - the list of supported papers for this paper size.

  property PaperRectOf []: TPaperRect; [r]

  

PaperRectOf - the Paper Rect corresponding to the given name.

end;

Inheritance

TPaperSize

  

Size for a paper used for the current document with the current printer.

|

TObject

Description

TPaperSize represents the size of the paper used for the current document with the current printer. The width and length are represented in Points (72 points per inch).

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