Back to Devexpress

TdxPDFCustomViewer.Document Property

vcl-dxpdfviewer-dot-tdxpdfcustomviewer.md

latest1.7 KB
Original Source

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

TdxPDFCustomViewer.LoadFromFile

TdxPDFCustomViewer.LoadFromStream

TdxPDFCustomViewer.OnDocumentLoaded

TdxPDFCustomViewer.OnDocumentUnloaded

TdxPDFCustomViewer Class

TdxPDFCustomViewer Members

dxPDFViewer Unit