CogOCVMaxRunParams GetLineCount Method (CogOCVMaxParagraphIterator)Cognex VisionPro 9.8 SR1
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: 75.0.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
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
ArgumentNullExceptionIf the supplied argument is NULL.
Remarks

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

See Also