FocusSettings class

FocusSettings class

Represents settings for a FocusControl object.

Syntax


var focusSettings = new Windows.Media.Devices.FocusSettings();

Members

The FocusSettings class has these types of members:

Constructors

The FocusSettings class has these constructors.

ConstructorDescription
FocusSettings Initializes a new instance of the FocusSettings class.

 

Methods

The FocusSettings class inherits methods from the Object class (C#/VB/C++).

Properties

The FocusSettings class has these properties.

PropertyAccess typeDescription

AutoFocusRange

Read/writeGets or sets a value indicating the auto focus range setting.

DisableDriverFallback

Read/writeGets or sets a value that indicates to the driver if it should disable determining a focus position when the focus search fails.

Distance

Read/writeGets or sets a value indicating the manual focus distance setting.

Mode

Read/writeGets or sets a value indicating the focus mode setting.

Value

Read/writeGets or sets the focus value setting.

WaitForFocus

Read/writeGets or sets a value indicating whether the capture device should wait for focus before capturing.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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

None supported

Minimum supported server

None supported

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

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version]

See also

Object

 

 

Show:
© 2016 Microsoft