Inserts one or more characters at the character position specified by the supplied character iterator.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
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
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the pattern object is modified. |
| CogOCVMaxPattern CharacterAdded | Fires when a character is added to the pattern object. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If pNext argument is NULL. |
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
| ArgumentException | If the supplied character iterator does not reference this CogOCVMaxPattern object. |
| InvalidOperationException | If the character iterator does not specify a valid position. |
Remarks
The characters have key values supplied by the input array of integers.
See Also