Inserts one or more characters at the character position specified by the character iterator.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.0.0.0
Syntax
Parameters
- srcText
- Type: System String
A string containing the characters to be inserted. May not be NULL. This assumes that the character keys in the associated font correspond to Unicode code point values.
- 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 |
|---|---|
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
| ArgumentNullException | If srcText argument is NULL. |
| ArgumentException | If the supplied character iterator does not reference this CogOCVMaxPattern object. |
| InvalidOperationException | If the character iterator does not specify a valid position. |
See Also