Share via


FlashControl.PowerPercent Property

Definition

Gets or sets the intensity of the flash.

public:
 property float PowerPercent { float get(); void set(float value); };
float PowerPercent();

void PowerPercent(float value);
public float PowerPercent { get; set; }
var single = flashControl.powerPercent;
flashControl.powerPercent = single;
Public Property PowerPercent As Single

Property Value

Single

float

The power percent the torch LED is set to.

Remarks

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

Applies to