Home Search

DriveWorks Pro 21
PDFGetDocumentInfo

Send Feedback

PDFGetDocumentInfo

This function returns the Document Info of the given PDF document. The result is returned as a table array.

Syntax

PDFGetDocumentInfo([PDF File])

Where:

PDF File is the path to the PDF file from which to get the info. If the path is not absolute DriveWorks will attempt to resolve it.

Examples

Rule

Result
PDFGetDocumentInfo("DataSheets\ProductGuide.pdf")Will return:

{"Key","Value";"Producer","Microsoft® Publisher 2019";"Creator","Microsoft® Publisher 2019";"CreationDate","D:20210805113633+01'00'";"ModDate","D:20210805113633+01'00'"}

PDFGetDocumentInfo("D:\DriveWorks\DataSheets\ProductGuide.pdf")Will return:

{"Key","Value";"Producer","Microsoft® Publisher 2019";"Creator","Microsoft® Publisher 2019";"CreationDate","D:20210805113633+01'00'";"ModDate","D:20210805113633+01'00'"}

Other Key\ Value pairs may be returned depending on the info in the PDF document.

Result when viewed as a table

KeyValue
ProducerMicrosoft® Publisher 2019
CreatorMicrosoft® Publisher 2019
CreationDateD:20210805113633+01'00'
ModDateD:20210805113633+01'00'