CogOCVMaxRunParams GetCharacterCount Method (CogOCVMaxLineIterator)Cognex VisionPro 9.7
Gets the number of characters in the specified line of the specified paragraph of this object's internal arrangement description.

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

public int GetCharacterCount(
	CogOCVMaxLineIterator pLI
)

Return Value

Type: Int32
The number of characters in the line.
Exceptions

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

This value is typically set by a call to SetArrangementFromPattern(CogOCVMaxPattern).

See Also