Zoom Switch Control
Defined under the namespace Scandit.Datacapture.Core.Ui
- ZoomSwitchControl
class ZoomSwitchControl : Control
Added in version 6.10.0
Control that allows to switch between two camera zoom levels defined by CameraSettings.zoomFactor and CameraSettings.zoomGestureZoomFactor.
You can add this control to a view by calling DataCaptureView.addControl().
- zoomedOutImage
zoomedOutImage: string | null
Added in version 6.10.0
The button image displayed when the zoom level is set to 1x.
- zoomedOutPressedImage
zoomedOutPressedImage: string | null
Added in version 6.10.0
The button image displayed when the zoom level is set to 1x and the button is pressed.
- zoomedInImage
zoomedInImage: string | null
Added in version 6.10.0
The button image displayed when the zoom level is set to 2x.
- zoomedInPressedImage
zoomedInPressedImage: string | null
Added in version 6.10.0
The button image displayed when the zoom level is set to 2x and pressed.
- setZoomedOutImage(resource)
setZoomedOutImage(resource: string):
void
Added in version 6.23.0
The button image resource displayed when the zoom level is set to 1x.
- setZoomedOutPressedImage(resource)
setZoomedOutPressedImage(resource: string):
void
Added in version 6.23.0
The button image resource displayed when the zoom level is set to 1x and the button is pressed.