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

TdxPDFCustomViewer.Clear Method

In This Article

Closes the loaded PDF document.

#Declaration

Delphi
procedure Clear; override;

#Remarks

This procedure does the following:

You can allow end-users to close the document by linking the CloseDocument command to an element of your UI.

Note

To identify if the PDF Viewer has the loaded document, call the IsDocumentLoaded function.

See Also