Gets the number of characters in the specified line of the specified paragraph of this object's internal arrangement description.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Parameters
- paragraphPosition
- Type: System Int32
A zero-based index that specifies the position of the paragraph of interest.
- linePosition
- Type: System Int32
A zero-based index that specifies the position of the line of interest within the paragraph of interest.
Return Value
Type: Int32The number of characters in the line.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the linePosition argument is less than zero or greater than or equal to the number of lines in the specified paragraph as described in this CogOCVMaxRunParams object. |
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
Remarks
This value is typically set by a call to SetArrangementFromPattern(CogOCVMaxPattern).
See Also