CogGeneralContour PropertiesCognex VisionPro 9.5

The CogGeneralContour type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyChildren
Children of this graphic.
Public propertyClosed
True if the contour contains a single connected chain of segments that is closed, otherwise False.
Public propertyColor
Color of this graphic. Can be any OLE_COLOR.
Public propertyDirectionAdornment
Returns/sets the adornment used to indicate the direction of the contour.
Public propertyDragColor
Color of this graphic when dragged.
Public propertyDragLineStyle
Line style of this graphic when dragged.
Public propertyDragLineWidthInScreenPixels
Line width of this graphic when dragged.
Public propertyGraphicDOFEnable
Interactive Degree of freedom for this graphic object. Provides the ability to govern interactive manipulation of an object; for example could be used to prevent an object from being resized.
Public propertyGraphicDOFEnableBase
Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyHighlightColor
Get or set the color of the segment highlight.
Public propertyHighlightIndex
Get or set the index of the segment to be highlighted. If set to -1, no segment highlighting will occur.
Public propertyHighlightRequested
If greater than zero, segment highlighting is enabled.
Public propertyInteractive
Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object.
Public propertyLength
Computes the sum of the lengths of all segments of the contour.
Public propertyLineStyle
Line style of this graphic.
Public propertyLineWidthInScreenPixels
Line width (in screen pixels) of this graphic.
Public propertyMouseCursor
Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive.
Public propertyOwnedCustomPens
Gets the set of custom pens used when drawing this contour. The pens are owned by this contour object, but are conveniently grouped together inside the returned interface.
Public propertyParent
Parent of this graphic.
Public propertySegmentCount
Returns the number of segments in this contour.
Public propertySelected
True when the shape is selected in a display.
Public propertySelectedColor
Color of this graphic when selected.
Public propertySelectedLineStyle
Line style of this graphic when selected.
Public propertySelectedLineWidthInScreenPixels
Line width of this graphic when selected.
Public propertySelectedSpaceName
Coordinate space in which this shape is to be interpreted.
Public propertyTipText
Text to describe this graphic in a tool tip.
Public propertyVertexAdornment
Returns/sets the adornment drawn at the vertices of the contour.
Public propertyVisible
Visible property of this graphic.
Top
See Also