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.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    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; DocInfo; value )   More

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
DocInfo The key to set. Can be Author, Creator, Keywords, Producer, Subject, Title or Company. "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

Blog Entries

FileMaker Magazin

Created 18th August 2014, last changed 28th April 2018


DynaPDF.SetContent   -   DynaPDF.SetDocInfoEx

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins