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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetDocInfo

The function sets or changes a document info entry.

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

MBS( "DynaPDF.SetDocInfo"; PDF; key; value )

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"
value The new value. "Hello"

Result

Returns OK or error message.

Description

The function sets or changes a document info entry.

See also SetDocInfo function in DynaPDF manual.

Examples

Set author name:

MBS( "DynaPDF.SetDocInfo"; $PDF; "Author"; "Christian" )

Set title of document:

Set Variable [$r; Value:MBS("DynaPDF.SetDocInfo"; $pdf; "Title"; "Test PDF")]

Set keywords:

Set Variable [$r; Value:MBS("DynaPDF.SetImportDocInfo"; $pdf; "keywords"; "test, dynapdf, filemaker")]

See also

Example Databases


DynaPDF.SetContent   -   DynaPDF.SetDrawDirection

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins