CogOCVMaxPattern CreateParagraphIterator Method Cognex VisionPro 9.21
Create a paragraph iterator corresponding to the initial paragraph in the arrangement.

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

public CogOCVMaxParagraphIterator CreateParagraphIterator()

Return Value

Type: CogOCVMaxParagraphIterator
A paragraph iterator that corresponds to the initial paragraph.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
Remarks

It is legal to call this method on an empty pattern (that is, on a pattern whose GetParagraphCount method returns zero). 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