Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Overlay.SetImage

Sets the image to show in the container.

Component Version macOS Windows Linux Server iOS SDK
Overlay 14.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Overlay.SetImage"; OverlayRef; Image )   More

Parameters

Parameter Description Example
OverlayRef The overlay window reference number. $overlay
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 the image to show in the container.
You can use GraphicsMagick functions to change a picture as needed or create one by script from scratch.

Examples

Sets image:

Set Variable [ $r ; Value: MBS("Overlay.SetImage"; $overlay; Overlay::Image) ]

See also

Example Databases

Blog Entries

Created 22nd January 2024, last changed 24th January 2024


Overlay.SetIgnoresMouseEvents - Overlay.SetMouseClickEvaluate