Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Installs an overlay image to the picker.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImagePicker | 8.3 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Image | The new overlay image. Proportional stretched to screen size. But you can use different images for different devices for best results. |
Returns OK or error.
Show image picker with overlay:
Set Variable [ $r ; Value: MBS( "ImagePicker.New" ) ]
Set Variable [ $r ; Value: MBS( "ImagePicker.SetCameraCaptureMode"; "Photo" ) ]
Set Variable [ $r ; Value: MBS( "ImagePicker.SetShowsCameraControls"; 1 ) ]
Set Variable [ $r ; Value: MBS( "ImagePicker.SetSourceType"; "Camera") ]
Set Variable [ $r ; Value: MBS( "ImagePicker.SetOverlayImage"; PlaceHolder::Container ) ]
Set Variable [ $r ; Value: MBS( "ImagePicker.Present" ) ]
This function checks for a license.
Created 25th May 2018, last changed 7th May 2020