Vcl.Dialogs.TPageSetupDialogOption
Delphi
TPageSetupDialogOption = System.UITypes.TPageSetupDialogOption;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Vcl.Dialogs.pas | Vcl.Dialogs | Vcl.Dialogs |
Description
Specifies page setup dialog options.
TPageSetupDialogOption and TPageSetupDialogOptions specify the options for the page setup dialog.
The following table lists the possible values for a variable of type TPageSetupDialogOption:
| Option | Meaning |
|---|---|
|
psoDefaultMinMargins |
Sets the minimum values that the user can specify for the page margins to be the minimum margins allowed by the printer. |
|
psoDisableMargins |
Disables margin controls, preventing the user from setting the margins. |
|
psoDisableOrientation |
Disables the orientation controls, preventing the user from setting the page orientation. |
|
psoDisablePagePainting |
Prevents default sample page drawing. Does not disable event calls. |
|
psoDisablePaper |
Disables paper controls, preventing the user from setting page parameters such as the paper size and source. |
|
psoDisablePrinter |
Disables the Printer button, preventing the user from invoking a dialog box that contains additional printer setup information. |
|
psoMargins |
Sets the initial margins from the MarginLeft, MarginRight, MarginBottom, and MarginTop properties. Otherwise, initial margins are one inch each. |
|
psoMinMargins |
Sets the minimum margins from the MinMarginLeft, MinMarginRight, MinMarginBottom, and MinMarginTop. Otherwise, minimum margins are determined by the printer driver. |
|
psoShowHelp |
Displays the Help button and the Help title bar button. |
|
psoWarning |
Prevents the display of a warning when there is no default printer. |
|
psoNoNetworkButton |
Hides and disables the Network button. |