CogOCVMaxPattern AddText Method ( Int32 )Cognex VisionPro 9.22
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: 87.0.0.0
Syntax

public void AddText(
	int[] srcText
)

Parameters

srcText
Type:  System Int32 
An System::Array of System::Int32. May not be NULL. Each element in this array is the key value of a character in the text that makes up the single line of the new paragraph to be appended to the arrangement.
Events

Exceptions

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

This new paragraph will have a single line composed of characters whose key values are supplied by the srcText array of integers. An empty input array of integers is interpreted as a blank line.

See Also