public string Language { get; set; }
Public Property Language As String
public String getLanguage()
public void setLanguage(string value)
A string that indicate the zone language. Default value is null.
Language property is supported in LEADTOOLS OCR Module - LEAD Engine only.
This property can be used to set or get the language of a zone. Setting the language of zone: The zone language must be set before the recognition process and the value returned will depend on the initial value and number of languages enabled in IOcrLanguageManager as follows:
Input value | Number of languages enabled | Output value | Recognition language used |
---|---|---|---|
Null or empty string (default) | 1 | Null or empty string (default) since no language detection is performed | Enabled language |
Null or empty string (default) | Greater than 1 | Detection is perform, Language will contain the detected language name (even if the language is not enabled but supported) | Language detected in the zone |
A supported language name, such "en" or "de" | 1 or greater | No language detection is performed | Input language value |
Zone language detection is a dictionary based method. For more information on OCR languages and spell checkers, refer to IOcrLanguageManager and 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