RegionOfInterest.Bounds RegionOfInterest.Bounds RegionOfInterest.Bounds RegionOfInterest.Bounds RegionOfInterest.Bounds Property

Definition

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

public : Rect Bounds { get; set; }
Rect Bounds();

void Bounds(Rect bounds);
public Rect Bounds { get; set; }
Public ReadWrite Property Bounds As Rect
var rect = regionOfInterest.bounds;
regionOfInterest.bounds = rect;

Property Value

The rectangle that defines the region of focus.

Remarks

To specify a point with non-normalized coordinates, meaning the BoundsNormalized property is not set or set to FALSE, you should specify a rectangle with width of 1 and height of 1.

To specify a point with normalized coordinates, meaning BoundsNormalized is set to TRUE, you should specify a rectangle with width of FLT_EPSILON and height of FLT_EPSILON.

If the region of interest specified by the developer is smaller than what is supported by the hardware, the driver will default to the smallest supported rectangle possible that fully contains the specified region.