CogOCFont ImportFromCvlArchive Method Cognex VisionPro 9.20
Imports a ccOCAlphabet class from the specified CVL archive file into this CogOCFont class. The archive should contain a single ccOCAlphabet. Import will try to load from the CVL archive via either a ccOCAlphabet or a ccOCAlphabetPtrh.

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

public void ImportFromCvlArchive(
	string fileName
)

Parameters

fileName
Type: System String

The file from which to load the archive.

Events

Exceptions

ExceptionCondition
ArgumentException

fileName is empty or NULL.

CogFileOpenException

fileName cannot be opened.

CogOCFontCvlArchiveErrorException

An error occurred while reading from the CVL archive. The internal state of the font is unchanged.

Remarks

Imports a ccOCAlphabet object from the specified CVL archive file into this font. The supplied archive should contain a single ccOCAlphabet object. Import will try to load from the CVL archive via either a ccOCAlphabet or a ccOCAlphabetPtrh.

See Also