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