FlashControl.PowerPercent 属性

定义

获取或设置闪光的强度。

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

属性值

Single

float

将火炬 LED 设置为的功率百分比。

注解

在尝试访问此属性之前,应检查 FlashControl 对象的 PowerSupported 属性的值。 如果 PowerSupported 为 false,则尝试访问此属性将引发异常。

适用于