CogOCRMaxCharKey FontID Property Cognex VisionPro 9.7
This is the ID of the font (i.e. set of characters) of which character is a member. One potential use for this value would be to have each font use a distinct value for the characters in that font, so that an application could refer to a set of character keys from all the fonts and still be able to distinguish which character came from which font.

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

public int FontID { get; }

Property Value

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

FontID is provided for user convenience, and its interpretation is application-specific. OCRMax functions will preserve this value but will otherwise make no use of it.

For applications that choose to use font IDs to keep track of different fonts, the Instance values should typically be required to be distinct only within a single font and not across all fonts.

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

See Also