Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ExposureCompensationControl Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides functionality for modifying exposure levels of captured photos.

public ref class ExposureCompensationControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class ExposureCompensationControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class ExposureCompensationControl
Public NotInheritable Class ExposureCompensationControl
Inheritance
Object Platform::Object IInspectable ExposureCompensationControl
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

Name Description
Max

Gets the maximum exposure time.

Min

Gets the minimum exposure time.

Step

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

Supported

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

Value

Gets the exposure compensation level.

Methods

Name Description
SetValueAsync(Single)

Asynchronously sets the exposure compensation.

Applies to

See also


Feedback

Was this page helpful?