CogOCVMaxPattern AddText Method ( String )Cognex VisionPro 9.8
Creates a new paragraph and appends it to the end of the current arrangement.

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

public void AddText(
	string[] srcText
)

Parameters

srcText
Type:  System String 
An array of strings, each of which corresponds to a line in the new paragraph. May not be NULL. This assumes that the character keys in the associated font correspond to Unicode code point values.
Events

Exceptions

ExceptionCondition
ArgumentNullExceptionIf srcText argument is NULL.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
Remarks

Each string in the supplied array of strings corresponds to an individual line in the new paragraph. An empty string (length zero) is interpreted as a blank line.

See Also