Return >  Addon.OCR.SetUnicodeFontName

Addon.OCR.SetUnicodeFontName()

Description

Specifies a font to be used by OCR when Addon.OCR.SetIfUseDetectedFont is assigned the value false.

Syntax

.Addon.OCR.SetUnicodeFontName(strName);

Parameters

<string> strName: Specifies a font to be used by OCR.

Remarks

This font should be the name of a font in the working directory or Windows font directory. The given name should not include the .font extension. It is only used as a backup, in the case that Addon.OCR.SetIfUseDetectedFont is assigned the value false.

The definition of a "unicode" font is loose. Any font can be provided here, however it needs to support the characters of the language to be used. Some fonts may support only some languages, but certain fonts such as ArialUni aim to support all common languages.

Example

DWObject.Addon.OCR.SetUnicodeFontName("ArialUni");

See Also

Addon.OCR.SetIfUseDetectedFont
Addon.OCR.GetUnicodeFontName