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
RichText.SetAttribute
Sets metadata.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| RichText | 3.5 | Yes | No | No | Yes, macOS only | Yes |
MBS( "RichText.SetAttribute"; Key; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Key | The new attribute key. Can be Title, Company, Copyright, Subject, Author, Keywords, Comment, Editor, ModificationTime, Manager or Category. | "Title" |
| Value | The value of the attribute. Most are text parameters except for the timestamp of ModificationTime. | "My title" |
Result
Returns OK or error.
Description
Sets metadata.See RichText.Attribute for details.
Examples
Set title:
MBS( "RichText.SetAttribute"; "Title"; "Hello World")
Set paper size:
MBS( "RichText.SetAttribute"; "PaperSize"; 595; 842) // A4
See also
Example Databases
Blog Entries
Release notes
- Version 9.2
- Added PaperSize option to RichText.SetAttribute and RichText.Attribute functions.
Created 18th August 2014, last changed 3th May 2019
RichText.ReplaceTexts - RichText.SetFormattedText
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins