Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxPDFViewerDocumentPropertiesDialogFormClass Variable

Specifies the Document Properties dialog class that the PDF Viewer control uses.

#Declaration

Delphi
var dxPDFViewerDocumentPropertiesDialogFormClass: TdxPDFViewerDocumentPropertiesDialogFormClass = TdxPDFViewerDocumentPropertiesDialogForm;

#Variable Value

Type Description
TdxPDFViewerDocumentPropertiesDialogFormClass

The class-reference to a Document Properties dialog class.

#Remarks

Assign a reference to a TdxPDFViewerDocumentPropertiesDialogForm class descendant to this global variable to replace the default Document Properties dialog with a custom implementation. This is useful if you need to adjust the default dialog layout or customize available UI elements.

The ShowDocumentPropertiesDialog global function uses the dxPDFViewerPasswordDialogClass global variable to call the constructor of the active Document Properties dialog form.

See Also