Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SpellLanguage Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrSpellCheckManager Interface : SpellLanguage Property



Gets or sets a value that indicate the spelling language for the spell checking of the checking subsystem.

Syntax

Visual Basic (Declaration) 
Overridable Property SpellLanguage As String
Visual Basic (Usage)Copy Code
Dim instance As IOcrSpellCheckManager
Dim value As String
 
instance.SpellLanguage = value
 
value = instance.SpellLanguage
C# 
virtual string SpellLanguage {get; set;}
C++/CLI 
virtual property String^ SpellLanguage {
   String^ get();
   void set (String^ value);
}

Return Value

A string value that represent the name of the spelling language for the spell checking of the checking subsystem.

Example

For an example, refer to IOcrSpellCheckManager.

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.

In addition to the values returned by GetSupportedSpellLanguages, you can use the following special string case-sensitive values:
ValueDescription
A null (Nothing in Visual Basic) string referenceAutomatic 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).
noneThe checking subsystem will not use the Language dictionary at all.

For more information about the spell checking system, refer to IOcrSpellCheckManager.

Note: This property is read only for the LEADTOOLS OCR Advantage Engine, setting this property will have no effect becuase the spell language will always be the same as the currently enabled language.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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