CogOCVMaxPoseHelper SetText Method (String)Cognex VisionPro 9.8
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.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax

public void SetText(
	string srcText
)

Parameters

srcText
Type: System String
The text to be used in determining a pose. Must have at least one character.
Events

Event TypeReason
ICogChangedEvent ChangedFires when this method causes the Text property to change.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf there is not at least one character represented.
ArgumentNullExceptionIf you attempt to set Text to NULL.
See Also