Description

Sets a feature to a rectangle.

Return Type

None  

Syntax

object.SetBox lIndex, Left, Top, Right, Bottom

The SetBox Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRegions.
lIndexRequired. A Long value.

long : Index of feature to make into a mcftBox-type region. If -1, all existing features are removed and a single mcftBox-type region is created at index 0.

LeftRequired. A Single value.

left side of the region

TopRequired. A Single value.

upper side of the region

RightRequired. A Single value.

right side of the region

BottomRequired. A Single value.

bottom side of the region

Remarks

McFeatures properties and methods are in McFeaturesGuts.idl

The FeatureType will be mcftBox.