Delen via


FlashControl.Auto Property

Definition

Gets or sets a value that specifies if flash is automatically set. This value also determines if the focus assist light operates automatically or by default whenever AssistantLightEnabled is set.

public:
 property bool Auto { bool get(); void set(bool value); };
bool Auto();

void Auto(bool value);
public bool Auto { get; set; }
var boolean = flashControl.auto;
flashControl.auto = boolean;
Public Property Auto As Boolean

Property Value

Boolean

bool

true if auto flash is set; otherwise, false. If this value is true while AssistantLightEnabled is also true, then the focus assist light will operate automatically instead of by default.

Remarks

You should check the value of the FlashControl object's Supported property before attempting to access this property. If Supported is false, attempting to access this property will throw an exception.

Applies to