ExposureCompensationControl.SetValueAsync | setValueAsync method

Applies to Windows and Windows Phone

Asynchronously sets the exposure compensation.

Syntax


Public Function SetValueAsync(
  value As Single 
) As IAsyncAction

Parameters

value

Type: Number [JavaScript] | System.Single [.NET] | float32 [C++]

The exposure compensation level to set the Value property to. The minimum and maximum values are specified by Min and Max.

Return value

Type: IAsyncAction

The object that is used to control the asynchronous operation.

Remarks

The supplied value must be between Min and Max, inclusive, in increments of Step. If you supply an arbitrary value that does not meet these requirements, the value will not be rounded. Instead, an exception will be thrown.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

ExposureCompensationControl
ExposureCompensationControl.Value
Min
Max

 

 

Show:
© 2014 Microsoft