CogOCVMaxLineIterator CreateCharacterIterator Method Cognex VisionPro 9.22
Return a newly created character iterator corresponding to the initial character position of this line.

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

public CogOCVMaxCharacterIterator CreateCharacterIterator()

Return Value

Type: CogOCVMaxCharacterIterator
A CogOCVMaxCharacter iterator corresponding to the initial character position in this line.
Exceptions

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

It is legal to call this method on a valid line iterator that corresponds to a line that contains no characters. 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