vcl-dxpscore-4b50f27d.md
The base class for classes that provide functionality required to register and display Print Preview dialogs within the ExpressPrinting System.
TdxPSPreviewDialogStyleInfo = class(
TPersistent
)
This class introduces the following virtual functions that are overridden within TdxPSPreviewDialogStyleInfo descendants representing various Print Preview dialog styles:
CreatePreviewWindow – Creates a window for a corresponding Print Preview dialog style.
GetName – Returns the style name.
GetUnitName – Returns the name of the unit, in which the dialog style (a TdxPSPreviewDialogStyleInfo descendant) is declared.
TdxPSPreviewDialogStyleInfo descendants include classes that correspond to the following built-in Print Preview dialog styles:
| Built-in Dialog Style | Class Name |
|---|---|
| Standard | TdxPSStandardPreviewDialogStyleInfo |
| Advanced | TdxPSAdvancedPreviewDialogStyleInfo |
| Ribbon | TdxPSRibbonPreviewDialogStyleInfo |
| Ribbon2010 | TdxPSRibbon2010PreviewDialogStyleInfo |
| Ribbon2013 | TdxPSRibbon2013PreviewDialogStyleInfo |
| Ribbon2016 | TdxPSRibbon2016PreviewDialogStyleInfo |
| Ribbon2016Tablet | TdxPSRibbon2016TabletPreviewDialogStyleInfo |
| Ribbon2019 | TdxPSRibbon2019PreviewDialogStyleInfo |
To create custom Print Preview dialog styles, derive your classes from TdxPSPreviewDialogStyleInfo or its descendants, as described in the How to Implement and Register Custom Print Preview Dialogs topic.
TObject TPersistent TdxPSPreviewDialogStyleInfo
See Also