Skip to main content

TdxPSEngine.PreviewDialogStyle Property

Specifies the paint style of the Print Preview dialog.

Declaration

property PreviewDialogStyle: TdxPSPreviewDialogStyle read; write;

Property Value

Type
TdxPSPreviewDialogStyle

Remarks

Use this property to select one of built-in Print Preview dialog styles or choose a custom dialog style. Refer to the How to Implement and Register Custom Print Preview Dialogs topic to learn how to implement custom Print Preview dialogs.

Dialog Style Description Example
Standard Uses standard TToolBar controls.
Advanced Uses toolbars shipped with the ExpressBars Suite.
Ribbon Uses Ribbon controls shipped with the ExpressBars Suite. Corresponds to the Office 2007 Ribbon style (rs2007 is assigned to the Ribbon’s Style property).
Ribbon2010 Uses Ribbon controls shipped with the ExpressBars Suite. Corresponds to the Office 2010 Ribbon style (rs2010 is assigned to the Ribbon’s Style property).
Ribbon2013 Uses Ribbon controls shipped with the ExpressBars Suite. Corresponds to the Office 2013 Ribbon style (rs2013 is assigned to the Ribbon’s Style property).
Ribbon2016 Uses Ribbon controls shipped with the ExpressBars Suite. Corresponds to the Office 2016 Ribbon style (rs2016 is assigned to the Ribbon’s Style property).
Ribbon2016Tablet Uses Ribbon controls shipped with the ExpressBars Suite. Corresponds to the Office 2016 Tablet Ribbon style (rs2016Tablet is assigned to the Ribbon’s Style property).
Ribbon2019 Uses Ribbon controls shipped with the ExpressBars Suite. Corresponds to the Office 2019 Ribbon style (rs2019 is assigned to the Ribbon’s Style property).

By default, the PreviewDialogStyle property is initialized with a style name that corresponds to the most recently registered Print Preview dialog style.

See Also