Share via


InfraredTorchControl.Power Property

Definition

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

Int32

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.

Applies to

See also