CogOCVCharacterPosition GetFontModelName Method Cognex VisionPro 9.22
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.OC
Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 87.0.0.0
Syntax

public string GetFontModelName(
	int index
)

Parameters

index
Type: System Int32

The zero-based index of the font model candidate whose name is returned.

Return Value

Type: String
Events

Event TypeReason
CogOCVCharacterPosition Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
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