CWIMAQRegion
CWIMAQRegion represents region data and properties that you can configure on a per region basis. This object contains a shape object. Use the Shape property to find out what type of shape a CWIMAQRegion contains. To access the shape object, set the region to a shape variable of the appropriate type. For example, Set MyLine = MyRegions(1) allows you to manipulate the line that is contained in MyRegions(1).
Properties
Active | 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.
|
External | Boolean that specifies if the contour is external or internal. The default is True.
|
PenColor | Color in which to display the region. The default is taken from the CWIMAQRegions.DefaultRegionColor of the collection to which this region belongs.
|
Shape | Shape type of the region. This is determined by the type of shape that was added to the Regions collection.
|
Visible | Boolean that specifies if the viewer draws the region. The default is True.
|
XData | Obsolete Array of x-coordinates for the data points of the region.
|
YData | Obsolete Array of y-coordinates for the data points of the region.
|
Methods
See Also
CWIMAQRegions
Shape