FlashControl.Enabled Property


Gets a value that specifies if the flash on the capture device is enabled or disabled.

 property bool Enabled { bool get(); void set(bool value); };
bool Enabled();

void Enabled(bool value);
public bool Enabled { get; set; }
var boolean = flashControl.enabled;
flashControl.enabled = boolean;
Public Property Enabled As Boolean

Property Value


true if the flash is enabled; otherwise, false.


You should check the value of the FlashControl object's Supported property before attempting to access this property. If Supported is false, attempting to access this property will throw an exception.

Applies to