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.Document Property

Provides access to the loaded PDF document and its settings.

#Declaration

Delphi
property Document: TdxPDFDocument read;

#Property Value

Type
TdxPDFDocument

#Remarks

You can use this property to access the non-visual representation of the loaded PDF document, obtain document information and perform certain document-related operations. For instance, you can call the Document.Clear procedure to close the loaded document and clear the document object’s content. Calling the PDF Viewer’s Clear procedure closes the loaded document and destroys the document object.

For detailed information on available document options, refer to the TdxPDFDocument class description.

Note

If the IsDocumentLoaded function returns False, the PDF Viewer’s Document object contains no loaded document or does not exist.

See Also