CogOCRMaxFont Import Method Cognex VisionPro 9.7
Load a Cognex ".ocr" formatted font file from disk.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 73.0.0.0
Syntax

public void Import(
	string fileName
)

Parameters

fileName
Type: System String
The full path to the font file to load.
Exceptions

ExceptionCondition
FileLoadException Thrown if Failed to load.
ArgumentNullException Thrown if fileName is null.
ArgumentException Thrown if fileName is the empty string.
Remarks

Note that the .ocr font format is compatible with Cognex's CVL product.

See Also