FlashControl.PowerPercent Proprietà

Definizione

Ottiene o imposta l'intensità del flash.

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

Valore della proprietà

Single

float

La percentuale di potenza del LED della torcia è impostata su.

Commenti

È necessario controllare il valore della proprietà PowerSupported dell'oggetto FlashControl prima di tentare di accedere a questa proprietà. Se PowerSupported è false, il tentativo di accedere a questa proprietà genererà un'eccezione.

Si applica a