CogOCVMaxPattern AddText Method ( Int32 , CogOCVMaxCharacterIterator)Cognex VisionPro 9.21
Inserts one or more characters at the character position specified by the supplied character iterator.

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

public void AddText(
	int[] srcText,
	CogOCVMaxCharacterIterator pNext
)

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 to be inserted.
pNext
Type: Cognex.VisionPro.OCVMax CogOCVMaxCharacterIterator
A CogOCVMaxCharacterIterator which specifies the character position at which the new characters should be inserted. May not be NULL.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf the character iterator does not specify a valid position.
ArgumentExceptionIf the supplied character iterator does not reference this CogOCVMaxPattern object.
ArgumentNullExceptionIf pNext argument is NULL.
Remarks

The characters have key values supplied by the input array of integers.

See Also