SharingPanel.AddImageContainer
------------------------------

Adds an image to the share.

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

MBS( "SharingPanel.AddImageContainer"; ImageContainer { ; Subject } ) 

**MBS**( **"SharingPanel.AddImageContainer";** /\* Adds an image to the share. \*/  
**$ImageContainer**; /\* The container value containing the image.e.g. myTable::MyImage \*/   
**$Subject**) /\* Optional; Subject line for sharing via email. \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ImageContainer | The container value containing the image. | myTable::MyImage |  |
| Subject | Subject line for sharing via email. |  | Optional |

### Result

Returns OK or error.

### Description

Adds an image to the share.   
### Examples

Adds an image:

 Set Variable \[ $r ; Value: MBS ( "SharingPanel.AddImageContainer"; PlaceHolder::Attachment1 ) \]  
### See also

- [SharingPanel.AddImageFile](SharingPanelAddImageFile.md)
- [SharingPanel.Present](SharingPanelPresent.md)

### Example Databases

- [iOS/Examples/SharingPanel](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/SharingPanel.shtml#1ScriptAnchor_)

This function checks for a license.

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

  
[SharingPanel.AddFilePath](SharingPanelAddFilePath.md) - [SharingPanel.AddImageFile](SharingPanelAddImageFile.md)

[HTML Version](SharingPanelAddImageContainer.shtml)