ImagePicker.SetCameraCaptureMode
--------------------------------

Sets the capture mode.

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

MBS( "ImagePicker.SetCameraCaptureMode"; Mode ) 

**MBS**( **"ImagePicker.SetCameraCaptureMode";** /\* Sets the capture mode. \*/  
**$Mode**) /\* The mode.  
Can be Photo or Video.e.g. "Photo" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Mode | The mode.   Can be Photo or Video. | "Photo" |

### Result

Returns OK or error.

### Description

Sets the capture mode.  
The capture mode used by the camera.  
### See also

- [ImagePicker.GetCameraCaptureMode](ImagePickerGetCameraCaptureMode.md)
- [ImagePicker.GetCameraFlashMode](ImagePickerGetCameraFlashMode.md)
- [ImagePicker.New](ImagePickerNew.md)
- [ImagePicker.Present](ImagePickerPresent.md)
- [ImagePicker.SetCameraFlashMode](ImagePickerSetCameraFlashMode.md)
- [ImagePicker.SetOverlayImage](ImagePickerSetOverlayImage.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.SetAllowsEditing](ImagePickerSetAllowsEditing.md) - [ImagePicker.SetCameraDevice](ImagePickerSetCameraDevice.md)

[HTML Version](ImagePickerSetCameraCaptureMode.shtml)