Sign in Join
FPDoc Onlineexperiment

TPaperSize.DefaultPaperName property

Member of TPaperSizepublicIn unit Printers

The default paper name used when not selected or available in the printer device.

Declaration

pascal
property DefaultPaperName: string read GetDefaultPaperName;

Description

Reading a value for the property causes the SupportedPapers and DefaultPapers to be initialized if the paper sizes do not already exist. It also occurs when a new printer device is selected. When DefaultPapers is True, the first value in SupportedPapers is used as the property value. Otherwise, the default paper name for the printer device is returned.

DefaultPaperName is used when getting the value for the PaperName property.

See also

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