Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2    Statistic  

DynaPDF.SetDocInfoEx

Sets a document information.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 8.2 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetDocInfoEx"; PDF; DocInfo; Key; value )

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"
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:
Note that the function does not check whether a reserved key is used. Using such a key causes maybe errors which are mostly not reported in viewer applications.
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.

See also SetDocInfoEx function in DynaPDF manual.

Examples

Set modification date:

MBS( "DynaPDF.SetDocInfoEx"; $pdf; “ModifyDate”; “”; $value )

See also


DynaPDF.SetDocInfo   -   DynaPDF.SetDrawDirection

Feedback: Report problem or ask question.




Links
MBS FileMaker blog