Torch Switch Control

Defined in namespace Scandit.DataCapture.Core.UI.Control

TorchSwitchControl
class TorchSwitchControl : View, IControl

Added in version 6.8.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.8.0

Constructor.

TorchOffImage
ImageSource TorchOffImage { get;set; }

Added in version 6.8.0

Sets the image encoded as a base64 string to use for the control button when the torch is off.

TorchOffPressedImage
ImageSource TorchOffPressedImage { get;set; }

Added in version 6.8.0

Sets the image encoded as a base64 string to use for the control button when the torch is off and the button is pressed.

TorchOnImage
ImageSource TorchOnImage { get;set; }

Added in version 6.8.0

Sets the image encoded as a base64 string to use for the control button when the torch is on.

TorchOnPressedImage
ImageSource TorchOnPressedImage { get;set; }

Added in version 6.8.0

Sets the image encoded as a base64 string to use for the control button when the torch is on and the button is pressed.