Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets metadata.

Component Version macOS Windows Linux Server iOS SDK
RichText 3.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "RichText.SetAttribute"; Key; Value )   More


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"


Returns OK or error.


Sets metadata.
See RichText.Attribute for details.


Set title:

MBS( "RichText.SetAttribute"; "Title"; "Hello World")

Set paper size:

MBS( "RichText.SetAttribute"; "PaperSize"; 595; 842) // A4

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 3th May 2019

RichText.ReplaceTexts - RichText.SetFormattedText