Skip to main content

TdxPDFDocumentLoadInfo Record

Contains information on the source of a loaded PDF document.

Declaration

TdxPDFDocumentLoadInfo = record

Remarks

This record uses the FileName and FileStream fields to store the path to the source PDF file and a reference to the source or intermediate stream object that stores the loaded document.

Every successful PDF document load operation initializes the FileStream field to a TStream class descendant instance that contains the source document. The FileName field contains a path to the source PDF file only when the TdxPDFCustomViewer.LoadFromFile or TdxPDFDocument.LoadFromFile procedure successfully loads a document; otherwise, the field contains an empty string.

A TdxPDFDocumentLoadedEvent event handler accepts a TdxPDFDocumentLoadInfo record as the AInfo parameter.

See Also