Back to Devexpress

TdxPSPreviewDialogStyleInfo Class

vcl-dxpscore-4b50f27d.md

latest2.3 KB
Original Source

TdxPSPreviewDialogStyleInfo Class

The base class for classes that provide functionality required to register and display Print Preview dialogs within the ExpressPrinting System.

Declaration

delphi
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 StyleClass Name
StandardTdxPSStandardPreviewDialogStyleInfo
AdvancedTdxPSAdvancedPreviewDialogStyleInfo
RibbonTdxPSRibbonPreviewDialogStyleInfo
Ribbon2010TdxPSRibbon2010PreviewDialogStyleInfo
Ribbon2013TdxPSRibbon2013PreviewDialogStyleInfo
Ribbon2016TdxPSRibbon2016PreviewDialogStyleInfo
Ribbon2016TabletTdxPSRibbon2016TabletPreviewDialogStyleInfo
Ribbon2019TdxPSRibbon2019PreviewDialogStyleInfo

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.

Inheritance

TObject TPersistent TdxPSPreviewDialogStyleInfo

See Also

TdxPSPreviewDialogStyleInfo Members

dxPSCore Unit