Set the Text property using the supplied array of strings. Here each array element corresponds to a line in the paragraph. 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: 69.0.0.0
Syntax
Parameters
- srcText
- Type: System String
The text to be used in determining a pose. Each array element is interpreted as a separate line within a single paragraph.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this method causes the Text property to change. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If you attempt to set Text to NULL. |
| ArgumentOutOfRangeException | If there is not at least one character represented. |
See Also