FlashControl.PowerPercent 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置闪光的强度。
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,则尝试访问此属性将引发异常。