Skip to main content
RegionOfInterest.Bounds | bounds property

Applies to Windows and Windows Phone

Gets or sets the rectangle that defines the region of focus.

Syntax


var bounds = regionOfInterest.bounds;
regionOfInterest.bounds = bounds;

public Rect Bounds { get; set; }

Public Property Bounds As Rect

public:
property Rect Bounds { 
   Rect get();
   void set (Rect value);
}

Property value

Type: Rect

The rectangle that defines the region of focus.

Remarks

If the provided rectangle is smaller than a single pixel in area, the system will use the smallest rectangle possible that fully contains the supplied rectangle specified by the application.

Requirements

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

See also

RegionOfInterest