Shape Property

NI Vision for Visual Basic

Shape Property

Syntax

CWIMAQRegion.Shape

Data Type

CWIMAQRegionShapes

You can use the following constants with this data type:

  • cwimaqRegionAnnulus—Annulus.
  • cwimaqRegionBrokenline—Broken line.
  • cwimaqRegionFreeline—Freehand line.
  • cwimaqRegionFreeregion—Freehand region.
  • cwimaqRegionLine—Line.
  • cwimaqRegionNone—None.
  • cwimaqRegionOval—Oval.
  • cwimaqRegionPoint—Point.
  • cwimaqRegionPolygon—Polygon.
  • cwimaqRegionRect—Rectangle.
  • cwimaqRegionRotatedRect—Rotated rectangle

Purpose

Shape type of the region. This is determined by the type of shape that was added to the Regions collection.