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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets new text for saving a document.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RichText | 3.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameter | Description | Example |
---|---|---|
text | The new text to use. Can have style information. | "Hello World" |
Returns OK or error.
From Styled text to RTF:
// Custom function with pFormattedText as parameter
Let ( [
r = MBS( "RichText.Clear" );
vOK = MBS( "RichText.SetFormattedText"; pFormattedText ) ;
vResult = MBS("RichText.RTF") ;
vOK = MBS( "RichText.Release" )
];
vResult
)
This function is free to use.
Created 18th August 2014, last changed 27th September 2016