RichText.Clear
--------------

Clears current document.

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

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

none

### Result

Returns OK.

### Description

Clears current document.  
### See also

- [RichText.Release](RichTextRelease.md)
- [RichText.ReplaceTexts](RichTextReplaceTexts.md)
- [RichText.RTF](RichTextRTF.md)
- [RichText.SetFormattedText](RichTextSetFormattedText.md)

### Example Databases

- [Mac only/RichText/RichText](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/RichText/RichText.shtml#5ScriptAnchor_)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[RichText.Attribute](RichTextAttribute.md) - [RichText.CopyToClipboard](RichTextCopyToClipboard.md)

[HTML Version](RichTextClear.shtml)