Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Clipboard.GetPicture
Queries a picture from clipboard.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Clipboard | 6.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "Clipboard.GetPicture" { ; ImageType; FileName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
ImageType | The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. |
"JPEG" | Optional |
FileName | The filename to use for the picture. Default is "image" with the extension matching the image type. |
"test.jpg" | Optional |
Result
Returns image or error.
Description
Queries a picture from clipboard.You can store image in a container field for example.
See also
Release notes
- Version 13.1
- Improved Clipboard.GetPicture to take JPEG, PNG or GIF directly from the clipboard if available. Falls back to bitmap if that is not available.
- Version 9.5
- Fixed problem on Windows with returning pictures, where Clipboard.GetPicture would return a flipped image.
- Fixed problem with Clipboard.GetPicture, when the picture comes without alpha channel.
Blog Entries
- MBS FileMaker Plugin, version 13.1pr1
- MBS FileMaker Plugin, version 9.5pr3
- MBS FileMaker Plugin, version 6.3pr5
This function checks for a license.
Created 3th July 2016, last changed 29th September 2020
