Visual Basic (Declaration) | |
---|---|
Public Interface IOcrLanguageManager |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrLanguageManager |
C# | |
---|---|
public interface IOcrLanguageManager |
C++/CLI | |
---|---|
public interface class IOcrLanguageManager |
You can access the instance of the IOcrLanguageManager used by an IOcrEngine through the IOcrEngine.LanguageManager property.
The language environment defines the character set(s) recognized by the OCR engine. For example, if you enable the English and German languages, the German characters (ä, Ä, é, ö, Ö, ü, Ü, ß) will be combined with the English characters to define the set recognized by the engine. The language environment does not perform spell checking however, for that, refer to IOcrSpellCheckManager.
The IOcrLanguageManager allows you to do the following:
- Query the languages supported by the OCR engine using the GetSupportedLanguages and IsLanguageSupported methods.
- Enable or disable specific language character sets from participating in the spell checking subsystem using the EnableLanguages and GetEnabledLanguages method.
- Query the language groups currently installed on the system using the GetSupportedLanguageGroups and IsLanguageGroupSupported methods.
The language values used throughout the LEADTOOLS OCR toolkit is a string value based on RFC 4646 (Windows Vista and later). The name could be an ISO 639 two-letter lowercase culture code associated with a language or a combination of ISO 630 and ISO 3166 two-letter uppercase subculture code associated with a country or region.
You must call the IOcrEngine.Startup method before you can use the IOcrEngine.LanguageManager property.
Note: The IOcrLanguageManager state is also saved when the engine settings are saved. For more information, refer to IOcrSettingManager.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
IOcrLanguageManager MembersLeadtools.Forms.Ocr Namespace
IOcrEngine
IOcrEngine.Startup
IOcrEngine.IsStarted
IOcrEngine.Shutdown
OcrEngineManager
OcrEngineType
OcrLanguageGroup
IOcrSettingManager
Programming with Leadtools .NET OCR
Files to be Included with Your Application
Working with OCR Languages
OCR Languages and Spell Checking