Vcl.Dialogs.TPageSetupDialog.Options

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Options: TPageSetupDialogOptions read FOptions write FOptions

C++

__property System::Uitypes::TPageSetupDialogOptions Options = {read=FOptions, write=FOptions, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TPageSetupDialog

Description

Specifies dialog options.

Options specifies the display options for the printer dialog. These are:



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 the 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 the 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 MarginLeft, MarginRight, MarginBottom, and MarginTop properties. Otherwise, initial margins are one inch each.

psoMinMargins

Sets the minimum margins from MinMarginLeft, MinMarginRight, MinMarginBottom, and MinMarginTop. Otherwise, minimum margins are determined by the printer driver.

psoShowHelp

Displays Help button and Help title bar button.

psoWarning

Prevents display of warning when there is no default printer.

psoNoNetworkButton

Hides and disables Network button.



See Also