Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.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; 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

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


DynaPDF.SetContent   -   DynaPDF.SetDocInfoEx

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins