InfraredTorchControl.Power 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 current infrared LED power value.
public:
property int Power { int get(); void set(int value); };
int Power();
void Power(int value);
public int Power { get; set; }
var int32 = infraredTorchControl.power;
infraredTorchControl.power = int32;
Public Property Power As Integer
Property Value
int
The power value the infrared LED is set to.
Remarks
The power value shall satisfy this condition: MinPower ≤ [Power Value ≤ MaxPower where ([Power Value - Min) mod PowerStep = 0.
E.g., if PowerStep is 5 and current [Power Value is 50 accepted new values are in 5 increment or decrement as long they are in valid range determined by MinPower and MaxPower.