Return a newly created character iterator corresponding to the initial character position of this line.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 79.0.0.0
public CogOCVMaxCharacterIterator CreateCharacterIterator()
public CogOCVMaxCharacterIterator CreateCharacterIterator()
Public Function CreateCharacterIterator As CogOCVMaxCharacterIterator
Public Function CreateCharacterIterator As CogOCVMaxCharacterIterator
public:
CogOCVMaxCharacterIterator^ CreateCharacterIterator()
public:
CogOCVMaxCharacterIterator^ CreateCharacterIterator()
Return Value
Type:
CogOCVMaxCharacterIteratorA CogOCVMaxCharacter iterator corresponding to the initial character position in this line.
| Exception | Condition |
|---|
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
| InvalidOperationException | If this line iterator cannot be found. |
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.