RegionOfInterest.Bounds Property

Definition

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

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

void Bounds(Rect value);
public Rect Bounds { get; set; }
var rect = regionOfInterest.bounds;
regionOfInterest.bounds = rect;
Public Property Bounds As 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.

Applies to