Gets the names of the current enabled languages environment of the character set used by the IOcrEngine.
public string[] GetEnabledLanguages()
Function GetEnabledLanguages() As String()
@property (nonatomic, strong, readonly) NSArray<NSNumber *> *enabledLanguages
public String[] getEnabledLanguages()
array<String^>^ GetEnabledLanguages();
An array of String object that contains the names of the current enabled languages. Note: If you are using the LEADTOOLS OCR Module - LEAD Engine, this array will contain only one item that represents the currently enabled language.
The EnableLanguages method is used to define the main part of the language environment of the character sets used by the IOcrEngine.
The default value of the enabled languages is "en" (for English).
Use the GetEnabledLanguages to obtain a list of the languages currently enabled in the language environment.
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.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document