Gets or sets a value that indicate the current language (dictionary) to use for spell checking.
string SpellLanguage {get; set;}
Property SpellLanguage As String
string SpellLanguage {get; set;}
public String getSpellLanguage()
public void setSpellLanguage(String value)
get_SpellLanguage();
set_SpellLanguage(value);
Object.defineProperty('SpellLanguage');
A String value that represent the name of the language (dictionary) to use for spell checking.
The OcrEngineType.Professional supports only one spell check language at a time. This language must be enabled using SpellLanguage.
The OcrEngineType.Advantage engine supports multiple spell check languages and the engine automatically loads the language dictionaries based on the language(s) currently enabled in IOcrLanguageManager. Important: SpellLanguage is not used and will have no effect.
The name of the spelling language should be in the same format used in specifying character set languages as described in IOcrLanguageManager. Once you set a spell language and assuming the spell checking system is enabled, the engine will now use this language dictionary to check and correct the spelling of the recognized text.
You can get the names of the spelling languages supported by the system with the GetSupportedSpellLanguages method. The available languages (dictionaries) depends on the current spell check engine set in SpellCheckEngine.
In addition to the values returned by GetSupportedSpellLanguages, you can use the following special string case-sensitive values:
Value | Description |
---|---|
A null (Nothing in Visual Basic) string reference | Automatic spell language selection. If only one language has been enabled in the language environment with the IOcrLanguageManager.EnableLanguages method, then this language will be automatically selected for spelling too providing it is one of the languages supported by the spelling check system (one of the values returned by GetSupportedSpellLanguages). |
none | The checking subsystem will not use the Language dictionary at all. |
For more information about the spell checking system, refer to IOcrSpellCheckManager.
For an example, refer to IOcrSpellCheckManager.
IOcrSpellCheckManager Interface
GetSupportedSpellLanguages Method
Programming with the LEADTOOLS .NET OCR
Products |
Support |
Feedback: SpellLanguage Property - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.