Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

ImagePicker.SetOverlayImage

Installs an overlay image to the picker.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImagePicker 8.3 No No No No Yes
MBS( "ImagePicker.SetOverlayImage"; Image )   More

Parameters

Parameter Description Example value
Image The new overlay image.
Proportional stretched to screen size.
But you can use different images for different devices for best results.

Result

Returns OK or error.

Description

Installs an overlay image to the picker.
This can be used to show additional framing rectangle or instructions to the user.

Examples

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" ) ]

See also

Blog Entries

Created 25th May 2018, last changed 25th May 2018


ImagePicker.SetEvaluate   -   ImagePicker.SetScript

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins