This function returns the Document Info of the given PDF document. The result is returned as a table array.
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.
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.
Key | Value |
---|---|
Producer | Microsoft® Publisher 2019 |
Creator | Microsoft® Publisher 2019 |
CreationDate | D:20210805113633+01'00' |
ModDate | D:20210805113633+01'00' |