PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV Mobile 27 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Camera property is used to identify and change the camera used (back or front).
Remarks:
  • If a video recording is in progress, it is not possible to change the camera.
  • This property can only be used on Camera controls that are not in "Version-26-compatible mode".
  • This property corresponds to the "Camera" option in the "General" tab of the Camera control description window.
Example
IF CAM_MyCamera.Camera = camBackCamera THEN
CAM_MyCamera.Camera = camFrontCamera
END
Syntax

Identifying the camera used by a Camera control Hide the details

<Result> = <Camera control>.Camera
<Result>: Integer constant
Camera used:
camBackCameraBack camera of the device.
camFrontCameraFront camera of the device.

The back camera is used by default.
<Camera control>: Control name
Name of the Camera control to be used.

Changing the camera used by a Camera control Hide the details

<Camera control>.Flash = <New camera>
<Camera control>: Control name
Name of the Camera control to be used.
<New camera>: Integer constant
Camera used:
camBackCameraBack camera of the device.
camFrontCameraFront camera of the device.

The back camera is used by default.
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment