Move the line iterator to the specified position within the containing paragraph. If the argument is zero, move to the first line position in the paragraph. If the argument is -1, move to the end line position in the paragraph. An exception is generated if the argument is not valid.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 69.0.0.0
Syntax
Parameters
- Position
- Type: System Int32
A System::Int32 index into the enclosing paragraph.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | If this line iterator cannot be found. |
| ObjectDisposedException | If the associated CogOCVMaxPattern object has already been disposed. |
| ArgumentOutOfRangeException | If the argument is less than zero or greater than the number of lines in the enclosing paragraph. |
See Also