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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
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 |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
DocInfo | The key to set. Can be Author, Creator, Keywords, Producer, Subject, Title or Company. | "Author" |
value | The new value. | "Hello" |
Returns OK or error message.
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")]
Created 18th August 2014, last changed 28th April 2018
DynaPDF.SetContent - DynaPDF.SetDocInfoEx
Feedback: Report problem or ask question.