CogOCRMaxChar CharacterCode Property Cognex VisionPro 9.20
The character code, which is a Unicode UTF-32 code point. This can be set to any Int32 value even though not all Int32 values are valid UTF-32 code points.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 80.0.0.0
Syntax

public int CharacterCode { get; set; }

Property Value

Type: Int32
The CharacterCode value. The default value is (int)CogOCRMaxCharCodeConstants::Unknown.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfCharacterCode
  • SfGetString
  • SfKey
Remarks

The key's character code may be set to CogOCRMaxCharCodeConstants.Unknown (0xF800) to signify that this character has not/could not been properly classified.

See Also