MediaDeviceControl.TrySetAuto(Boolean) Method

Definition

Enables or disables automatic adjustment of the camera setting.

public:
 virtual bool TrySetAuto(bool value) = TrySetAuto;
bool TrySetAuto(bool const& value);
public bool TrySetAuto(bool value);
function trySetAuto(value)
Public Function TrySetAuto (value As Boolean) As Boolean

Parameters

value
Boolean

bool

True to enable automatic adjustment; or false to disable automatic adjustment. If false, call TrySetValue to adjust the setting.

Returns

Boolean

bool

Returns true if the method succeeds, or false otherwise.

Remarks

Depending on the setting and the camera model, the camera might not support automatic adjustment.

Applies to