Exposure​Compensation​Control Exposure​Compensation​Control Exposure​Compensation​Control Class

Definition

Provides functionality for modifying exposure levels of captured photos.

public : sealed class ExposureCompensationControl : IExposureCompensationControlpublic sealed class ExposureCompensationControl : IExposureCompensationControlPublic NotInheritable Class ExposureCompensationControl Implements IExposureCompensationControl
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

ExposureCompensationControl enables apps to modify exposure levels of captured photos.

You can find out if a device supports this control by checking ExposureCompensationControl.Supported.

You can access the ExposureCompensationControl for the capture device through MediaCapture.VideoDeviceController.

For how-to guidance for using the ExposureCompensationControl, see Manual camera controls for photo and video capture.

Properties

Max Max Max

Gets the maximum exposure time.

public : float Max { get; }public float Max { get; }Public ReadOnly Property Max As float
Value
float float float

The maximum exposure time.

Attributes

Min Min Min

Gets the minimum exposure time.

public : float Min { get; }public float Min { get; }Public ReadOnly Property Min As float
Value
float float float

The minimum exposure time.

Attributes

Step Step Step

Gets the smallest exposure compensation increment supported by the capture device.

public : float Step { get; }public float Step { get; }Public ReadOnly Property Step As float
Value
float float float

The smallest exposure compensation increment.

Attributes

Supported Supported Supported

Gets a value that specifies if the capture device supports the exposure compensation control.

public : PlatForm::Boolean Supported { get; }public bool Supported { get; }Public ReadOnly Property Supported As bool
Value
PlatForm::Boolean bool bool

true if the exposure compensation control is supported; otherwise, false.

Attributes

Value Value Value

Gets the exposure compensation level.

public : float Value { get; }public float Value { get; }Public ReadOnly Property Value As float
Value
float float float

The exposure time.

Attributes

Methods

SetValueAsync(Single) SetValueAsync(Single) SetValueAsync(Single)

Asynchronously sets the exposure compensation.

public : IAsyncAction SetValueAsync(float value)public IAsyncAction SetValueAsync(Single value)Public Function SetValueAsync(value As Single) As IAsyncAction
Parameters
value
float Single Single

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

Returns

The object that is used to control the asynchronous operation.

Attributes

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.

See Also

See Also