Back to Devexpress

TdxPDFViewerCloseDocument Class

vcl-dxpdfvieweractions-92e28def.md

latest2.4 KB
Original Source

TdxPDFViewerCloseDocument Class

An action object corresponding to the CloseDocument command provided by the PDF Viewer control.

Declaration

delphi
TdxPDFViewerCloseDocument = class(
    TdxPDFViewerCustomAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerCloseDocument action object closes the PDF document currently displayed by the TdxPDFViewer control and destroys its Document object.

UI elements linked to a TdxPDFViewerCloseDocument action object are enabled only if the PDF Viewer control currently displays a document (i.e., the control’s IsDocumentLoaded function returns True).

Inheritance

Show 11 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxPDFViewerCustomAction TdxPDFViewerCloseDocument

See Also

TdxPDFViewerOpenDocument Class

TdxPDFCustomViewer.Clear Procedure

TdxPDFDocument.Clear Procedure

TdxPDFViewerCloseDocument Members

dxPDFViewerActions Unit