CogGeneralContour VertexAdornment Property Cognex VisionPro
Returns/sets the adornment drawn at the vertices of the contour.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public CogGeneralContourVertexAdornmentConstants VertexAdornment { get; set; }

Property Value

Type: CogGeneralContourVertexAdornmentConstants
Exceptions

ExceptionCondition
ArgumentException

The value is not in CogGeneralContourVertexAdornmentConstants.

Remarks

Sets or gets the adornment drawn at the vertices of the contour.

You can set the color of each vertex adornment by defining a CogGeneralContour and then using the CogGeneralContourSegmentIteratorStartAdornmentCustomPen and EndAdornmentCustomPen.

Default Value: None

See Also