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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetDocInfoEx
Sets a document information.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 8.2 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.SetDocInfoEx"; PDF; DocInfo; Key; value ) More
Parameters
| 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" |
| Key | The key name for custom keys. | "OurID" |
| value | The new value. | "Hello" |
Result
Returns OK or error.
Description
Sets a document information.The function sets or changes a document info entry. This function supports also user defined keys which can be created or changed if necessary. If the parameter DocInfo is set to Custom the parameter Key must contain a unique key.
The following keywords are reserved and must not be used as user defined keys:
- Author * CreationDate * GTS_PDFXVersion
- Keywords * ModifyDate * Producer * Subject * Title * Trapped
User defined keys should be defined as 7 bit ASCII string and the usage of special characters like /, \, #, or character codes higher than 127 should be avoided. The value of the document info entry should not contain binary data.
Modification date can't be set and will always be updated when PDF is closed.
See also SetDocInfoEx function in DynaPDF manual.
Examples
Set creation date:
Set Variable [ $md ; Value: MBS( "DynaPDF.SetDocInfoEx"; $PDF; "CreationDate"; ""; "D:20150418131854Z00'00'" ) ]
See also
Blog Entries
Release notes
- Version 8.2
- Added DynaPDF.SetDocInfoEx function.
Created 28th April 2018, last changed 26th April 2020
DynaPDF.SetDocInfo - DynaPDF.SetDrawDirection
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins