ICogGeneralContourLineSegmentIterator GetLineSegmentIterator Method Cognex VisionPro 9.7
Gets the iterator interface that provides full access to line segment properties.

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

ICogGeneralContourLineSegmentIterator GetLineSegmentIterator()

Return Value

Type: ICogGeneralContourLineSegmentIterator

The returned iterator.

Remarks

Gets the iterator interface that provides full access to line segment properties.

Note: If the SegmentType is not LineOwnedLineSegmentIterator does not return an error immediately. However, if you attempt to set or get type-specific properties, you will get an error.

See Also