CogOCVCharacterPosition SetFontModel Method Cognex VisionPro 9.8
Set font model specified by the index to the new values.

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

public void SetFontModel(
	int index,
	string name,
	int instance
)
Events

Exceptions

ExceptionCondition
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