CogOCVCharacterPosition AddFontModel Method Cognex VisionPro 9.22 SR1
Add a new font model to the end of the list of model candidates to be verified at this character position. FontModelCount will increment by one.

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

public void AddFontModel(
	string name,
	int instance
)

Parameters

name
Type: System String

The name of the model to add.

instance
Type: System Int32

The instance of the character model to add.

Events

Exceptions

ExceptionCondition
ArgumentException

instance is < 0 or > 255.

Remarks

Add a new font model to the end of the list of model candidates to be verified at this character position. Calling this function will cause FontModelCount to increase by one.

See Also