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