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