CogOCVMaxCharacterIterator SetDisplay Method (Char)Cognex VisionPro 9.8
Set the character that should be displayed on a graphical user interface for the position specified by this character iterator. This is useful for character positions for which the (train time) key set has more than one value. 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 SetDisplay(
	char NewValue
)

Parameters

NewValue
Type: System Char
A System::Char. This is the character that should be displayed for this character position. Note that this assumes that the character keys in the font correspond to Unicode code point values.
Events

Event TypeReason
CogOCVMaxPattern CharacterChangedFires when this property changes, provides more detailed information than the Changed event.
ICogChangedEvent ChangedFires when this property changes.
Exceptions

ExceptionCondition
InvalidOperationExceptionIf this character iterator cannot be found.
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
See Also