RichText.RTF
------------

Returns current rich text as RTF data.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [RichText](component_RichText.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "RichText.RTF" ) ### Parameters

none

### Result

Returns text or error.

### Description

Returns current rich text as RTF data.  
### Examples

From Styled text to RTF:

 Let ( \[   
// Custom function with pFormattedText as parameter  
  
r = MBS ( "[RichText.Clear](RichTextClear.md)" );  
vOK = MBS ( "[RichText.SetFormattedText](RichTextSetFormattedText.md)"; pFormattedText ) ;   
vResult = MBS ("RichText.RTF") ;  
vOK = MBS ( "[RichText.Release](RichTextRelease.md)" )  
  
\];   
  
vResult  
  
)  
### See also

- [Clipboard.SetRTFText](ClipboardSetRTFText.md)
- [RichText.Clear](RichTextClear.md)
- [RichText.Release](RichTextRelease.md)
- [RichText.SetFormattedText](RichTextSetFormattedText.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.5pr1](https://www.mbsplugins.de/archive/2016-10-04/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 27th September 2016 , last changed 5th September 2025

  
[RichText.HTMLText](RichTextHTMLText.md) - [RichText.ReadContainer](RichTextReadContainer.md)

[HTML Version](RichTextRTF.shtml)