ImagePicker.SetCameraFlashMode
------------------------------

Sets flash mode.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePicker.SetCameraFlashMode"; Value ) 

**MBS**( **"ImagePicker.SetCameraFlashMode"** /\* Sets flash mode. \*/  
**$Value**) /\* The new setting.  
Can be On, Off and Auto. e.g. "Auto" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Can be On, Off and Auto. | "Auto" |

### Result

Returns OK or error.

### Description

Sets flash mode.  
The flash mode used by the active camera.  
The value of this property specifies the behavior of the still-image flash when the value of the cameraCaptureMode property is photo, and specifies the behavior of the video torch when cameraCaptureMode is video.  
### See also

- [ImagePicker.GetCameraCaptureMode](ImagePickerGetCameraCaptureMode.md)
- [ImagePicker.GetCameraFlashMode](ImagePickerGetCameraFlashMode.md)
- [ImagePicker.New](ImagePickerNew.md)
- [ImagePicker.Present](ImagePickerPresent.md)
- [ImagePicker.SetCameraCaptureMode](ImagePickerSetCameraCaptureMode.md)
- [ImagePicker.SetCameraDevice](ImagePickerSetCameraDevice.md)

### Example Databases

- [iOS/Examples/iOS ImagePicker](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/iOS%20ImagePicker.shtml#4ScriptAnchor_)

### Blog Entries

- [Overlay image for Image Picker](https://www.mbsplugins.de/archive/2018-05-25/Overlay_image_for_Image_Picker/monkeybreadsoftware_blog_filemaker)
- [Image Picker for FileMaker iOS SDK apps with MBS Plugin](https://www.mbsplugins.de/archive/2017-06-20/Image_Picker_for_FileMaker_iOS/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 17th June 2017 , last changed 18th June 2017

  
[ImagePicker.SetCameraDevice](ImagePickerSetCameraDevice.md) - [ImagePicker.SetEvaluate](ImagePickerSetEvaluate.md)

[HTML Version](ImagePickerSetCameraFlashMode.shtml)