System.UITypes.TPageSetupDialogOption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TPageSetupDialogOption = (psoDefaultMinMargins, psoDisableMargins,
psoDisableOrientation, psoDisablePagePainting, psoDisablePaper, psoDisablePrinter,
psoMargins, psoMinMargins, psoShowHelp, psoWarning, psoNoNetworkButton);

C++

enum class DECLSPEC_DENUM TPageSetupDialogOption : unsigned char { psoDefaultMinMargins, psoDisableMargins, psoDisableOrientation, psoDisablePagePainting, psoDisablePaper, psoDisablePrinter, psoMargins, psoMinMargins, psoShowHelp, psoWarning, psoNoNetworkButton };

Properties

Type Visibility Source Unit Parent
enum public
System.UITypes.pas
System.UITypes.hpp
System.UITypes System.UITypes

Description

Specifies options for the FMX.Printer.TPageSetupDialog component.

This enumeration defines the following values:

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 the Help button and Help title bar button.

psoWarning

Prevents display of warning when there is no default printer.

psoNoNetworkButton

Hides and disables the Network button.



See Also