CogOCVCharacterPosition GetFontModel Method Cognex VisionPro 9.8 SR1
Get the name and instance of the font model specified by the index.

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

public void GetFontModel(
	int index,
	out string name,
	out int instance
)

Parameters

index
Type: System Int32

The zero-based index of the font model candidate.

name
Type: System String 

The returned Name.

instance
Type: System Int32 

The returned Instance.

Exceptions

ExceptionCondition
ArgumentException

index is < 0 or >= FontModelCount.

Remarks

Get the Name and Instance of the specified font model.

See Also