CogOCVMaxFont Import Method (String)Cognex VisionPro 9.7
Read in the first font description in the specified file. This font description will replace any previously imported font description. If you have modified SpotSize and/or LineSpacing in the currently loaded font, those settings will be lost.

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

public void Import(
	string fileName
)

Parameters

fileName
Type: System String
The name of the font file to be imported.
Events

Exceptions

ExceptionCondition
ArgumentNullExceptionIf the fileName argument is NULL.
ObjectDisposedExceptionIf this CogOCVMaxFont object has already been disposed.
See Also