Set font model specified by the index to the new values.
Namespace: Cognex.VisionPro.OCAssembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 87.1.0.0
Syntax
Parameters
- index
- Type: System Int32
The zero-based index of the position to set.
- name
- Type: System String
The name.
- instance
- Type: System Int32
The instance number.
Events
| Event Type | Reason |
|---|---|
| CogOCVCharacterPosition Changed | Fires when this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | instance is < 0 or > 255. |
| ArgumentException | index is < 0 or >= FontModelCount. |
Remarks
Sets the specified character position to use the supplied font model name and instance.
See Also