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.FormattedText
Returns the styled text of the currently loaded text file.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| RichText | 3.0 | Yes | No | No | Yes, macOS only | Yes |
Parameters
none
Result
Returns text or error.
Description
Returns the styled text of the currently loaded text file.Examples
Read formatted text from container field:
$r = MBS( "RichText.ReadContainer"; Test::ContainerField )
$text = MBS( "RichText.FormattedText" )
Read container in one formula:
Let ( [
r = MBS( "RichText.ReadContainer"; MyContainer );
text = MBS( "RichText.FormattedText" )
]; text )
See also
- RichText.AppendFormattedText
- RichText.ReadContainer
- RichText.ReadFile
- RichText.ReadHTML
- RichText.ReadRTF
- RichText.ReadURL
- RichText.Release
- RichText.SetFormattedText
Example Databases
- Mac only/RichText/RichText
- Mac only/RichText/RTF to formatted text
- Text functions/HTML to formatted text
Blog Entries
Release notes
- Version 10.1
- Added handing of Strikethrough text attribute for styled text conversion from NSAttributedString to FileMaker. Affects WebView.GetFormattedText, Clipboard.GetStyledText, RichText.FormattedText and other functions.
Created 18th August 2014, last changed 18th December 2015
RichText.Clear - RichText.GeneratePDF
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos