Skip to main content

TdxPDFCustomViewer.Document Property

Provides access to the loaded PDF document and its settings.

Declaration

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