Description

Width of the region's bounding box.

Property type

A McMeasure object.  

Syntax

object.mRgnBoundingBoxWidth

The mRgnBoundingBoxWidth Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRegions.

Remarks

The bounding box is the horizontally oriented bounding rectangle of the region. The smallest bounding rectangle aligned along the major axis of an equivalent ellipse may be gotten from the mRgnLength, mRgnWidth and mRgnDirection.

This is a boundary geometry based measurement, so it is independent of pixel counts and is accurate for sub-pixel locations of region boundaries.