Clipboard.SetPicture
--------------------

Sets clipboard picture.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Clipboard](component_Clipboard.md) | [6.3](newinversion63.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "Clipboard.SetPicture"; Image ) 

**MBS**( **"Clipboard.SetPicture";** /\* Sets clipboard picture. \*/  
**$Image**) /\* The container with image.   
Can be in various formats including JPEG, PNG, TIFF and BMP.e.g. MyTable::myContainer \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Image | The container with image.    Can be in various formats including JPEG, PNG, TIFF and BMP. | MyTable::myContainer |

### Result

Returns OK or error.

### Description

Sets clipboard picture.  
### Examples

Put image on clipboard:

 MBS ( "Clipboard.SetPicture";   
 MBS ( "[Container.ReadFile](ContainerReadFile.md)"; "/Users/cs/Pictures/IMG\_3625.jpg"; "auto" ) )  
### See also

- [Clipboard.GetPicture](ClipboardGetPicture.md)
- [Container.ReadFile](ContainerReadFile.md)

### Release notes

- **Version 13.1**
    - Fixed [Clipboard.SetPicture](https://www.mbsplugins.eu/ClipboardSetPicture.shtml) to better pass transparency.
    - Improved [Clipboard.SetPicture](https://www.mbsplugins.eu/ClipboardSetPicture.shtml) to put PNG on the clipboard in addition to a bitmap for applications, that can read PNG forever.

### Blog Entries

- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.3pr5](https://www.mbsplugins.de/archive/2016-07-04/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 3th July 2016 , last changed 26th December 2019

  
[Clipboard.SetPDF](ClipboardSetPDF.md) - [Clipboard.SetRTFText](ClipboardSetRTFText.md)

[HTML Version](ClipboardSetPicture.shtml)