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,則嘗試存取此屬性將會擲回例外狀況。

適用於