FlashControl.Enabled Property

Definition

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

public:
 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

Boolean

true if the flash is enabled; otherwise, false.

Remarks

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