The Name of the font model candidate specified via Index. OCV verifies the highest scoring candidate. Models are specified using both FontModelName & FontModelInstance. Index must be greater than or equal to zero and less than FontModelCount.
Namespace: Cognex.VisionPro.OCAssembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 79.0.0.0
Syntax
Parameters
- index
- Type: System Int32
The zero-based index of the font model candidate whose name is returned.
Return Value
Type: StringEvents
| Event Type | Reason |
|---|---|
| CogOCVCharacterPosition Changed | Fires when this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | index is < 0 or >= FontModelCount. |
Remarks
Returns the Name of the specified font model candidate. index must be greater than or equal to zero and less than FontModelCount.
See Also