Windows Dev Center

FocusPreset enumeration

Defines the values for the possible focus presets.

Syntax


var value = Windows.Media.Devices.FocusPreset.auto;

Members

The FocusPreset enumeration has these members.

MemberValueDescription
Auto | auto0

Indicates that focus is automatically set by the capture.

Manual | manual1

Indicates that focus is manually set.

AutoMacro | autoMacro2

Indicates that the capture device uses a close autofocus range.

AutoNormal | autoNormal3

Indicates that the capture device uses a normal autofocus range.

AutoInfinity | autoInfinity4

Indicates that the capture device uses an infinite autofocus range.

AutoHyperfocal | autoHyperfocal5

Indicates that the capture device uses a hyperfocal autofocus range.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft