CWIMAQRegions
CWIMAQRegions is a collection of CWIMAQRegion objects. Every CWIMAQViewer control has a CWIMAQRegions collection associated with it, which you can use to add and manipulate region objects on the viewer. In addition, you can create a CWIMAQRegions object that is not associated with a CWIMAQViewer control.
Properties
Count | Number of objects in the collection. |
DefaultRegionColor | Default value of the PenColor property for new regions you add to the collection. The default is vbGreen. |
Methods
Add | Adds an object to the collection and returns the new object. |
AddAnnulus | Adds an annulus region to the regions collection. |
AddBrokenline | Adds a Brokenline to the regions collection. |
AddFreeline | Adds a Freeline to the regions collection. |
AddFreeregion | Adds a Freeregion to the regions collection. |
AddLine | Adds a line region to the regions collection. |
AddOval | Adds an oval region to the regions collection. |
AddPoint | Adds a point region to the regions collection. |
AddPolygon | Adds a polygon to the regions collection. |
AddRectangle | Adds a rectangle region to the regions collection. |
AddRegion | Adds a region that contains any type of shape to the regions collection. |
AddRotatedRectangle | Adds a rotated rectangular region to the regions collection. |
CopyTo | Copies one regions collection into another. |
GetBoundingRectangle | Gets the bounding rectangle of the regions of interest. |
Item | Returns the specified object from the collection. |
MaskToRegions | Obsolete—Use CWIMAQVision.MaskToRegions instead. Transforms an image mask into regions of interest. |
RegionsProfile | Obsolete—Use CWIMAQVision.RegionsProfile instead. Calculates the profile of the pixels along the boundary of a region of interest. |
RegionsToMask | Obsolete—Use CWIMAQVision.RegionsToMask instead. Transforms the specified Region objects into a mask. |
Remove | Removes the specified item from the collection. |
RemoveAll | Removes all objects from the collection. |
TransformRegions | Obsolete—Use CWIMAQVision.TransformRegions instead. Rotates and translates regions in the Regions collection. Use this method to transform an ROI from one coordinate system to another. |