Creates a line iterator that corresponds to the initial line position in the specified paragraph of the arrangement.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 87.0.0.0
public CogOCVMaxLineIterator CreateLineIterator(
int paragraphPosition
)
public CogOCVMaxLineIterator CreateLineIterator(
int paragraphPosition
)
Public Function CreateLineIterator (
paragraphPosition As Integer
) As CogOCVMaxLineIterator
Public Function CreateLineIterator (
paragraphPosition As Integer
) As CogOCVMaxLineIterator
public:
CogOCVMaxLineIterator^ CreateLineIterator(
int paragraphPosition
)
public:
CogOCVMaxLineIterator^ CreateLineIterator(
int paragraphPosition
)
Parameters
- paragraphPosition
- Type: System Int32
A zero-based index that specifies the paragraph.
Return Value
Type:
CogOCVMaxLineIteratorA line iterator that corresponds to the specified line.
| Exception | Condition |
|---|
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
It is legal to call this method with the index of 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.