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: 73.0.0.0
Syntax
Parameters
- pPI
- Type: Cognex.VisionPro.OCVMax CogOCVMaxParagraphIterator
A paragraph iterator that specifiesthe paragraph of interest.
Return Value
Type: Int32A System::Int32 representing the number of lines in the paragraph.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
| ArgumentNullException | If the supplied argument is NULL. |
Remarks
The number of lines is typically set by a call to SetArrangementFromPattern(CogOCVMaxPattern).
See Also