TextView.GetSelectedRTF
-----------------------

Queries RTF text.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TextView](component_TextView.md) | [10.5](newinversion105.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "TextView.GetSelectedRTF"; TextView ) 

**MBS**( **"TextView.GetSelectedRTF";** /\* Queries RTF text. \*/  
**$TextView**) /\* The reference number to the text view. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TextView | The reference number to the text view. | $textview |

### Result

Returns RTF text or error.

### Description

Queries RTF text.  
This is a RTF representation of the text with styles, which can be loaded again later.  
Use this function for selection only and [TextView.GetRTF](TextViewGetRTF.md) for whole text.  
### See also

- [TextView.GetRTF](TextViewGetRTF.md)
- [TextView.SetSelectedRTF](TextViewSetSelectedRTF.md)
- [TextView.SetSelection](TextViewSetSelection.md)

### Release notes

- **Version 10.5**
    - Added more [TextView](https://www.mbsplugins.eu/component_TextView.shtml) functions: [TextView.GetSelectedStyledText](https://www.mbsplugins.eu/TextViewGetSelectedStyledText.shtml), [TextView.SetSelectedStyledText](https://www.mbsplugins.eu/TextViewSetSelectedStyledText.shtml), [TextView.GetSelectedHTMLText](https://www.mbsplugins.eu/TextViewGetSelectedHTMLText.shtml), [TextView.SetSelectedHTMLText](https://www.mbsplugins.eu/TextViewSetSelectedHTMLText.shtml), [TextView.GetSelectedRTF](https://www.mbsplugins.eu/TextViewGetSelectedRTF.shtml), [TextView.SetSelectedRTF](https://www.mbsplugins.eu/TextViewSetSelectedRTF.shtml), [TextView.GetSelectedPlainText](https://www.mbsplugins.eu/TextViewGetSelectedPlainText.shtml), [TextView.SetSelectedPlainText](https://www.mbsplugins.eu/TextViewSetSelectedPlainText.shtml), [TextView.GetSelectionStart](https://www.mbsplugins.eu/TextViewGetSelectionStart.shtml), [TextView.SetSelectionStart](https://www.mbsplugins.eu/TextViewSetSelectionStart.shtml), [TextView.GetSelectionLength](https://www.mbsplugins.eu/TextViewGetSelectionLength.shtml), [TextView.SetSelectionLength](https://www.mbsplugins.eu/TextViewSetSelectionLength.shtml), and [TextView.SetSelection](https://www.mbsplugins.eu/TextViewSetSelection.shtml).

### Blog Entries

- [New in MBS FileMaker Plugin 10.5](https://www.mbsplugins.de/archive/2020-11-23/New_in_MBS_FileMaker_Plugin_10/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.5pr1](https://www.mbsplugins.de/archive/2020-10-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2020, Seite 27](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

This function checks for a license.

Created 29th September 2020 , last changed 29th September 2020

  
[TextView.GetSelectedPlainText](TextViewGetSelectedPlainText.md) - [TextView.GetSelectedStyledText](TextViewGetSelectedStyledText.md)

[HTML Version](TextViewGetSelectedRTF.shtml)