CogGeneralContourSegmentIterator Position Property Cognex VisionPro 9.22
Returns the position of the iterator in the container.

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

public int Position { get; }

Property Value

Type: Int32
Remarks

Returns the position of the iterator in the container.

You can use Position to save an iterator's position and then use MoveToPosition(Int32) to move back to it. The position is not the same as the index of the segment.

See Also