Torch Switch Control

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

TorchSwitchControl
class TorchSwitchControl : IControl

Added in version 6.16.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.16.0

Constructor.

TorchOffImage
Bitmap TorchOffImage { get;set; }

Added in version 6.16.0

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

TorchOffPressedImage
Bitmap TorchOffPressedImage { get;set; }

Added in version 6.16.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
Bitmap TorchOnImage { get;set; }

Added in version 6.16.0

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

TorchOnPressedImage
Bitmap TorchOnPressedImage { get;set; }

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