Gets the number of characters in a line.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax
Parameters
- paragraphPosition
- Type: System Int32
A zero-based index that specifies which paragraph to use.
- linePosition
- Type: System Int32
A zero-based index that specifies which line in the paragraph to use.
Return Value
Type: Int32The number of characters in the specified line.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the suppled linePosition argument is less than zero or greater than or equal to the number of lines. |
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
See Also