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
Image 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
Image 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
Image 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
Image 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.
- AccessibilityLabelWhenOff
stringAccessibilityLabelWhenOff { get;set; }Added in version 8.5.0
Accessibility label text used for the control button when the torch is off.
- AccessibilityLabelWhenOn
stringAccessibilityLabelWhenOn { get;set; }Added in version 8.5.0
Accessibility label text used for the control button when the torch is on.