CogOCFont Compile Method Cognex VisionPro 9.7
Compiles this font which involves computing the confusion scores for all possible model pairings in the font.

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

public void Compile()
Events

Event TypeReason
CogOCFont Changed

Fires when the font was compiled successfully.

The following state flags may be affected:

Exceptions

ExceptionCondition
CogOCFontNoModelsException

FontModels is NULL or empty.

CogOCFontDuplicateNameInstanceException

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

CogImageNoPixelsException

At least one of the normal (nonblank) models has an Image that is not allocated.

CogOCFontNoModelImageException

At least one of the normal (nonblank) models has a NULL Image.

CogTimeoutExpiredException

The compilation Timeout period expired. (Applies only if TimeoutEnabled is True.)

CogOCFontModelImageTooSmallException

At least one of the nonblank models has a height or a width less than 3 pixels.

Remarks

Compiles this font. Font compilation includes computing the confusion scores for all possible model pairings in the font.

See Also