Active Property
Syntax
CWIMAQRegion.Active
Data Type
Purpose
Boolean that specifies if regions in an image are processed by methods in the CWIMAQRegions object. The default is True, which allows the regions of an image to be processed by the CWIMAQRegions object.
Remarks
Use this property to selectively disable regions from being processed. For example, if the CWIMAQRegions collection has three regions, and you want to include only region 1 and region 3 in a mask, set the Active property on region 2 to False before calling CWIMAQRegions.RegionsToMask.