Sign in Join
FPDoc Onlineexperiment

TPaperSize.PaperName property

Member of TPaperSizepublicIn unit Printers

The name used for the paper size, like Legal or Letter.

Declaration

pascal
property PaperName: string read GetPaperName write SetPaperName;

Description

Reading a value for the property causes the SupportedPapers and DefaultPapers to be initialized if default paper sizes do not already exist. It also occurs when a new printer device is selected. If a custom paper size is set, its name is returned as the property value. Otherwise, the selected paper name for the printer device is returned. If the property value cannot be determined, the value in DefaultPaperName is used.

See also

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