Set the Text property using the supplied string. Note that this assumes that the character keys in the font correspond to Unicode code point values.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax
Parameters
- srcText
- Type: System Int32
The text to be used in determining a pose. This array of integers is interpreted as a sequence of character keys and the corresponding text is interpreted as a single line within a single paragraph.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this method causes the Text property to change. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If there is not at least one character represented. |
| ArgumentNullException | If you attempt to set Text to NULL. |
See Also