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

DynaPDF.GetDocInfo

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

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetDocInfo"; 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 current 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 DynaPDF.GetImportDocInfo and DynaPDF.GetImportDocInfoAsJSON for the current open import PDF.

See also GetDocInfo function in DynaPDF manual.

Examples

Query title of current PDF:

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

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 24th March 2022


DynaPDF.GetDescent - DynaPDF.GetDocInfoAsJSON