Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic    FMM    Blog  

DynaPDF.GetImportDocInfoAsJSON

Queries all document information from import file as JSON array.

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

Parameters

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

Result

Returns JSON or error.

Description

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.

Examples

Query JSON:

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

See also

Blog Entries

Release notes

  • Version 10.5
    • Added DynaPDF.GetAnnotationsAsJSON, DynaPDF.GetBookmarksAsJSON, DynaPDF.GetColorSpacesAsJSON, DynaPDF.GetDocInfoAsJSON, DynaPDF.GetEmbeddedFilesAsJSON, DynaPDF.GetFieldsAsJSON, DynaPDF.GetFontsAsJSON, DynaPDF.GetImportDocInfoAsJSON and DynaPDF.SysFontInfoAsJSON functions.

Created 16th September 2020, last changed 16th September 2020


DynaPDF.GetImportDocInfo   -   DynaPDF.GetImportFlags

Feedback: Report problem or ask question.




Links
MBS FileMaker blog