Torch Switch Control#
Defined in namespace Scandit.DataCapture.Core.UI.Control
-
TorchSwitchControl
# class TorchSwitchControl
: IControlAdded in version 6.2.0
Control that allows to toggle the torch on and off. The torch switch control hides itself automatically in case the active frame source doesn’t have a torch.
You can add this control to a view by calling DataCaptureView.AddControl().
-
TorchSwitchControl()
# TorchSwitchControl
()Added in version 6.2.0
Constructor.
-
TorchOffImage
# UIImage
TorchOffImage
{ get;set; }Added in version 6.2.0
Sets the image to use for the control button when the torch is off.
-
TorchOffPressedImage
# UIImage
TorchOffPressedImage
{ get;set; }Added in version 6.2.0
Sets the image to use for the control button when the torch is off and the button is pressed.
-