CogOCVMaxParagraphIterator CreateLineIterator Method Cognex VisionPro 9.8
Return a newly created line iterator corresponding to the initial line position of this paragraph.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax

public CogOCVMaxLineIterator CreateLineIterator()

Return Value

Type: CogOCVMaxLineIterator
A CogOCVMaxLine iterator corresponding to the initial line position in this paragraph.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf this paragraph iterator cannot be found.
Remarks

It is legal to call this method on a valid paragraph iterator that corresponds to a paragraph that contains no lines. The IsInvalid, IsEnd, and IsFirst properties of the resulting iterator will all be True. Attempts to access any other property on this iterator will cause an exception to be thrown. This iterator may be supplied as an argument in a subsequent call to AddText.
See Also