Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetDocInfo
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
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" |
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")]
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
- DynaPDF.GetDocInfo
- DynaPDF.InsertImage
- DynaPDF.New
- DynaPDF.SetDocInfoEx
- DynaPDF.SetPDFVersion
- DynaPDF.SysFontInfo
Release notes
- Version 8.2
- Added DynaPDF.SetDocInfoEx function.
Example Databases
- Barcode/DynaPDF Barcode
- DynaPDF/Barcodes
- DynaPDF/Book Creation
- DynaPDF/Bookmarks
- DynaPDF/Create DeviceN ColorSpace
- DynaPDF/Create Text as PDFA
- DynaPDF/Invoice/Invoice
- DynaPDF/Signature Appearance
- DynaPDF/WriteFText
- OCR/OCR with DynaPDF
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 10th March 2023
