CogOCRMaxCharKey Instance Property Cognex VisionPro 9.8
The instance number, which can be used to uniquely identify a particular instance of a character with a given character code within a particular font.

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

public int Instance { get; }

Property Value

Type: Int32
The Instance value. The default value is -1.
Remarks

For example, a set of characters (including an image for each character) might have two different instances of a character code (e.g. the letter "A") to represent two different appearances that both corresponded to that character code. If that font also had a single instance of the letter "B", then the character codes and instances might reasonably be the following:

(CharacterCode="A", Instance=0)

(CharacterCode="A", Instance=1)

(CharacterCode="B", Instance=0)

The value can be -1 to indicate that the instance is not specified.

See Also