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

DynaPDF.GetImportDocInfo

The function retrieves a document info entry as text from import PDF.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetImportDocInfo"; PDF; key )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
key The key to set. Can be Author, Creator, Keywords, Producer, Subject, Title, Company, PDFXVersion, PDFXConfiguration, CreationDate or ModificationDate. "Author"

Result

Returns value or error message.

Description

The function retrieves a document info entry as text from import PDF.
Please note that we have DynaPDF.GetDocInfo for the current working PDF and the DynaPDF.GetImportDocInfo for the current open import PDF.

See also GetImportDocInfo function in DynaPDF manual.

Examples

Query title of import PDF:

$r = MBS( "DynaPDF.GetImportDocInfo"; $PDF; "title" )

Query creation and modification dates:

Set Variable [ $cd ; Value: MBS( "DynaPDF.GetImportDocInfo"; $PDF; "CreationDate" ) ]
Set Variable [ $md ; Value: MBS( "DynaPDF.GetImportDocInfo"; $PDF; "ModificationDate" ) ]

Queries keywords:

Set Variable [$r; Value:MBS("DynaPDF.GetImportDocInfo"; $pdf; "keywords")]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 15th September 2020


DynaPDF.GetImageFileCount - DynaPDF.GetImportDocInfoAsJSON