TdxPSPreviewDialogStyleInfo Class
The base class for classes that provide functionality required to register and display Print Preview dialogs within the ExpressPrinting System.
#Declaration
TdxPSPreviewDialogStyleInfo = class(
TPersistent
)
#Remarks
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 | Tdx |
Advanced | Tdx |
Ribbon | Tdx |
Ribbon2010 | Tdx |
Ribbon2013 | Tdx |
Ribbon2016 | Tdx |
Ribbon2016Tablet | Tdx |
Ribbon2019 | Tdx |
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.