SharingPanel.AddText
--------------------

Adds text to share.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SharingPanel](component_SharingPanel.md) | [11.4](newinversion114.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "SharingPanel.AddText"; Text { ; Subject } ) 

**MBS**( **"SharingPanel.AddText";** /\* Adds text to share. \*/  
**$Text**; /\* The text to share. \*/   
**$Subject**) /\* Optional; Subject line for sharing via email. \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Text | The text to share. |  |  |
| Subject | Subject line for sharing via email. |  | Optional |

### Result

Returns OK or error.

### Description

Adds text to share.  
### Examples

Share this text:

 Set Variable \[ $r ; Value: MBS ( "SharingPanel.AddText"; "Hello World") \]  
### See also

- [SharingPanel.AddURL](SharingPanelAddURL.md)
- [SharingPanel.ErrorText](SharingPanelErrorText.md)
- [SharingPanel.Present](SharingPanelPresent.md)

This function checks for a license.

Created 28th August 2021 , last changed 29th August 2021

  
[SharingPanel.AddStyledText](SharingPanelAddStyledText.md) - [SharingPanel.AddURL](SharingPanelAddURL.md)

[HTML Version](SharingPanelAddText.shtml)