Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries all document information from import file as JSON array.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetImportDocInfoAsJSON"; PDF )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf


Returns JSON or error.


Queries all document information from import file as JSON array.
JSON includes text for various document information properties including Author, Creator, Keywords, Producer, Subject, Title, Company, PDF-X Version, PDF-X Conf, CreationDate and ModDate.
As custom keys can be defined in PDF, those may get included, too.

The DynaPDF.GetImportDocInfoAsJSON function is to read directly from open import PDF without importing it. Once imported, you can use DynaPDF.GetDocInfoAsJSON to get what is in the working PDF in memory.

See also GetImportDocInfoAsJSON function in DynaPDF manual.


Query JSON:

Set Variable [ $JSON; Value: MBS( "DynaPDF.GetImportDocInfoAsJSON"; PDF ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 16th September 2020, last changed 10th April 2022

DynaPDF.GetImportDocInfo - DynaPDF.GetImportFlags

💬 Ask a question or report a problem