[Overview][Types][Classes][Variables][Index] |
The list of supported paper names for the attached printer device.
Source position: printers.pas line 208
public property TPaperSize.SupportedPapers : TStrings |
SupportedPapers is a read-only TStrings property with the list of paper names available for the attached printer device. It contains the common names for the paper sizes, like: "Letter", "Legal", or "A4".
Values in the property are loaded when no existing entries are found, or when the selected printer device has been changed. The printer device is queried to get the supported paper names and sizes. It if does not return any values, the three (3) paper sizes mentioned above are added to the list of available paper sizes. The first value in the list is the default paper size, and the DefaultPapers property is set to True.
SupportedPapers is used to validate a new value assigned to the PaperName property. The new PaperName value must exist in SupportedPapers before it is applied to the printer device. It serves a similar purpose when a values is retrieved for the indexed PaperRectOf property.
|
The name used for the paper size, like Legal or Letter. |
|
|
The default paper name used when not selected or available in the printer device. |
|
|
The physical and logical dimension rectangles for the paper size. |
|
|
Gets the dimension for a supported paper with the specified name. |
|
|
Performs actions needed to get the supported papers for the print device. |
Version 4.0 | Generated 2025-05-03 | Home |