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