CogOCFontModel Instance Property Cognex VisionPro 9.22 SR1
The Instance of this font model. The Name and Instance of a font model uniquely identify the model within a font. Valid instance number is between 0 and 255, inclusive.

Namespace: Cognex.VisionPro.OC
Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 87.1.0.0
Syntax

public int Instance { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogOCFontModel Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The instance number is < 0 or > 255.

Remarks

The instance of this font model. Using instances let you include multiple variations for a particular character in your font. This property may be set to values from 0 through 255.

Default Value: 0

See Also