CogPolygon HighlightIndex Property Cognex VisionPro 9.7
Get or set the index of the vertex to be highlighted. If set to -1, no vertex highlighting will occur.

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

public virtual int HighlightIndex { get; set; }

Property Value

Type: Int32
The index of the vertex to be highlighted.

Implements

ICogGraphicHighlight HighlightIndex
Events

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf you attempt to set HighlightIndex to a value less than -1.
See Also