SharingPanel.AddStyledText
--------------------------

Adds styled 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.AddStyledText"; StyleText { ; Subject } ) 

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

### Parameters

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

### Result

Returns OK or error.

### Description

Adds styled text to share.  
This function checks for a license.

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

  
[SharingPanel.AddImageFile](SharingPanelAddImageFile.md) - [SharingPanel.AddText](SharingPanelAddText.md)

[HTML Version](SharingPanelAddStyledText.shtml)