Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.73 KB

focuscontrol.md

File metadata and controls

31 lines (20 loc) · 1.73 KB
-api-id -api-type
T:Windows.Media.Devices.FocusControl
winrt class

Windows.Media.Devices.FocusControl

-description

Provides functionality for controlling the focus settings on a capture device.

-remarks

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

If the device does not support the FocusControl, you can still use the Focus property on the VideoCaptureDevice to set the focus value.

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

The FocusControl gives apps additional control over the focus settings on a device.

You can use one of the FocusPreset values by calling SetPresetAsync. Or call SetValueAsync to set a specific Value between the Min and Max.

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

-examples

-see-also

MediaCapture.VideoDeviceController, Manual camera controls for photo and video capture