|
|
|
|
|
Torch (Property) In french: Torche
The Torch property is used to determine and change how a Camera control uses the torch. Remarks: - To turn on the torch, the Camera control must be active.
- This property can only be used on Camera controls that are not in "Version-26-compatible mode".
CAM_MyCamera.Torch = camTorchOn
Syntax
Determining the torch mode in a Camera control Hide the details
<Result> = <Camera control>.Torch
<Result>: Integer constant Torch mode used by the camera:
| | camTorchAuto | Torch turned on automatically according to the light conditions. | camTorchOff | The torch is always off. | camTorchOn | The torch is always on. |
The torch is disabled by default. <Camera control>: Control name Name of the Camera control to be used.
Changing the torch mode in a Camera control Hide the details
<Camera control>.Torch = <New mode>
<Camera control>: Control name Name of the Camera control to be used. <New mode>: Integer constant Torch mode used by the camera:
| | camTorchAuto | Torch turned on automatically according to the light conditions. | camTorchOff | The torch is always off. | camTorchOn | The torch is always on. |
The torch is disabled by default.
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Photos
[ + ] This Android/iOS example is used to take photos and to save them by specifying a title and keywords. A search is also available. The photos are stored in the application directory, therefore they are private (not visible by other applications).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|