Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RegionOfInterest class

Represents a region of interest which is a rectangular region on the image which is used for functions such as focus and exposure.

Syntax


Public NotInheritable Class RegionOfInterest

Members

The RegionOfInterest class has these types of members:

Constructors

The RegionOfInterest class has these constructors.

ConstructorDescription
RegionOfInterest Creates a new instance of the RegionOfInterest control.

 

Methods

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

Properties

The RegionOfInterest class has these properties.

PropertyAccess typeDescription

AutoExposureEnabled

Read/writeGets or sets a value that specifies if auto exposure is enabled.

AutoFocusEnabled

Read/writeGets or sets a value that specifies if auto focus is enabled.

AutoWhiteBalanceEnabled

Read/writeGets or sets a value that specifies if auto white balance is enabled.

Bounds

Read/writeGets or sets the rectangle that defines the region of focus.

 

Remarks

The region of interest is a rectangle region in the image.

The region of interest specifies the area of preview that functions such as focus and exposure are computed over. This enables scenarios such as tap to focus.

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 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

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(0x06030000)]

See also

Object
RegionsOfInterest

 

 

Show:
© 2015 Microsoft