Zoom Switch Control
Defined in namespace Scandit.DataCapture.Core.UI
- ZoomSwitchControl
class ZoomSwitchControl : IControl
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().
- ZoomSwitchControl()
ZoomSwitchControl(Context context)
Added in version 6.10.0
Initializes a new ZoomSwitchControl.
- ZoomedOutImage
Bitmap ZoomedOutImage { get;set; }
Added in version 6.10.0
The button image displayed when the zoom level is set to 1x.
- ZoomedOutPressedImage
Bitmap ZoomedOutPressedImage { get;set; }
Added in version 6.10.0
The button image displayed when the zoom level is set to 1x and the button is pressed.
- ZoomedInImage
Bitmap ZoomedInImage { get;set; }
Added in version 6.10.0
The button image displayed when the zoom level is set to 2x.
- ZoomedInPressedImage
Bitmap ZoomedInPressedImage { get;set; }
Added in version 6.10.0
The button image displayed when the zoom level is set to 2x and pressed.
- SetZoomedOutImage()
void
SetZoomedOutImage(int
resId)Added in version 6.10.0
The button image resource displayed when the zoom level is set to 1x.
- SetZoomedOutPressedImage()
void
SetZoomedOutPressedImage(int
resId)Added in version 6.10.0
The button image resource displayed when the zoom level is set to 1x and the button is pressed.
- SetZoomedInImage()
void
SetZoomedInImage(int
resId)Added in version 6.10.0
The button image resource displayed when the zoom level is set to 2x.
- SetZoomedInPressedImage()
void
SetZoomedInPressedImage(int
resId)Added in version 6.10.0
The button image resource displayed when the zoom level is set to 2x and pressed.