FlashControl.PowerPercent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.