CogOCVMaxCharacterIterator SetDisplay Method (Char)Cognex VisionPro
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: 65.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
ICogChangedEvent ChangedFires when this property changes.
CogOCVMaxPattern CharacterChangedFires when this property changes, provides more detailed information than the Changed event.
Exceptions

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