Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.GetDocInfo

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

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetDocInfo"; PDF; key )

Parameters

Parameter Description Example value
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 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


DynaPDF.GetContent   -   DynaPDF.GetDocInfoCount

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins