CogOCFont ExportToCvlArchive Method Cognex VisionPro
Exports this font to the specified CVL archive as a ccOCAlphabetPtrh. If this font is compiled then the CVL will contain a compiled font.

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

public void ExportToCvlArchive(
	string fileName
)

Parameters

fileName
Type: System String

The file to which to archive the font.

Exceptions

ExceptionCondition
CogOCFontDuplicateNameInstanceException

Two or more models have the same Name and Instance combination.

ArgumentException

fileName is empty or NULL.

CogFileOpenException

fileName cannot be opened.

CogOCFontCvlArchiveErrorException

An error occurred while saving to the CVL archive.

Remarks

Exports this font to the specified CVL archive as a ccOCAlphabetPtrh. If this font is Compiled then the CVL archive will contain a compiled font.

See Also