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


The function sets or changes a document info entry.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetDocInfo"; PDF; DocInfo; value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
DocInfo The key to set.
Can be Author, Creator, Keywords, Producer, Subject, Title or Company.
value The new value. "Hello"


Returns OK or error message.


The function sets or changes a document info entry.

See also SetDocInfo function in DynaPDF manual.


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")]

Set company and producer of document:

Set Variable [$r; Value:MBS("DynaPDF.SetDocInfo"; $pdf; "company"; "MyCompany Ltd")]
Set Variable [$r; Value:MBS("DynaPDF.SetDocInfo"; $pdf; "producer"; "MyCompany Ltd")]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 10th March 2023

DynaPDF.SetDateTimeFormat - DynaPDF.SetDocInfoEx