[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TCustomPrintDialog.Options

Set of options enabled when the print dialog is executed.

## Declaration

Source position: dialogs.pp line 579

`public property TCustomPrintDialog.Options : TPrintDialogOptions read FOptions write FOptions default [];`

## Description

Options is a TPrintDialogOptions property with the options enabled for the print dialog. It can contain 0 (zero) or more values from the TPrintDialogOption enumeration. When a value is included in the set, the corresponding option is enabled when the Execute method is called.

Values in the property are used to configure the TPrintDialog descendant before it is displayed and executed. The values control both the properties and printer flags used in the print dialog.

See TPrintDialogOption for the values allowed in the set and their meanings.

The default value for the property is an empty set ([]).

## See also

TPrintDialogOptions |  | A set type used for the options in a print dialog.
TPrintDialogOption |  | Enumerated type with available options for a print dialog.
TCommonDialog.Execute |  | Displays the dialog and captures the result.