Dela via


ExposureCompensationControl Class

Definition

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

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

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

SetValueAsync(Single)

Asynchronously sets the exposure compensation.

Applies to

See also