CogOCVMaxRunParams GetLineCount Method (CogOCVMaxParagraphIterator)Cognex VisionPro
Gets the number of lines in the specified paragraph of this object's internal arrangement description.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

public int GetLineCount(
	CogOCVMaxParagraphIterator pPI
)

Return Value

Type: Int32
A System::Int32 representing the number of lines in the paragraph.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the supplied argument is NULL.
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
Remarks

The number of lines is typically set by a call to SetArrangementFromPattern(CogOCVMaxPattern).

See Also