LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

SpellLanguage Property






Gets or sets a value that indicate the current language (dictionary) to use for spell checking. .NET support WinRT support
Syntax
string SpellLanguage {get; set;}
'Declaration
 
Property SpellLanguage As String
'Usage
 
Dim instance As IOcrSpellCheckManager
Dim value As String
 
instance.SpellLanguage = value
 
value = instance.SpellLanguage
string SpellLanguage {get; set;}
get_SpellLanguage();
set_SpellLanguage(value);
property String^ SpellLanguage {
   String^ get();
   void set (    String^ value);
}

Property Value

A System.String value that represent the name of the language (dictionary) to use for spell checking.
Remarks

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.

Example
For an example, refer to IOcrSpellCheckManager.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IOcrSpellCheckManager Interface
IOcrSpellCheckManager Members
GetSupportedSpellLanguages Method
IOcrLanguageManager Interface
Programming with the LEADTOOLS .NET OCR
OCR Spell Language Dictionaries
OCR Languages and Spell Checking

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

SpellLanguage requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features