Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Clipboard.SetPicture
Sets clipboard picture.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Clipboard | 6.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "Clipboard.SetPicture"; Image ) More
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"; "/Users/cs/Pictures/IMG_3625.jpg"; "auto" ) )
See also
Release notes
- Version 13.1
- Fixed Clipboard.SetPicture to better pass transparency.
- Improved Clipboard.SetPicture to put PNG on the clipboard in addition to a bitmap for applications, that can read PNG forever.
Blog Entries
This function checks for a license.
Created 3th July 2016, last changed 26th December 2019