[Overview][Types][Classes][Variables][Index] |
Performs actions needed to get the name for the default paper on the print device.
Source position: printers.pas line 284
protected function TPrinter.DoGetDefaultPaperName: string; virtual; |
Name for the default paper on the selected print device.
DoGetDefaultPaperName is a virtual String function which performs action needed to get the name for the default paper on the selected print device. The return value contains the name for the default paper, such as: "Letter", "Legal", or "A4". DoGetDefaultPaperName is called when the value for the TPaperSize.DefaultPaperName property is read.
Remark: | In TPrinter, DoGetDefaultPaperName always returns an empty string (''). It must be overridden in a descendent class to perform the actions needed for the operating system / widgetset / printer-related technology used in the implementation. |
|
Contains paper sizes available and/or selected for the print device. |
|
|
The default paper name used when not selected or available in the printer device. |
|
|
Indicates if default paper sizes have been defined and added to SupportedPapers. |
Version 3.2 | Generated 2024-02-25 | Home |