LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IsSpellLanguageSupported Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrSpellCheckManager Interface : IsSpellLanguageSupported Method



name
The language name. For more information about the format of language names, refer to IOcrLanguageManager.

The IsSpellLanguageSupported Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

name
The language name. For more information about the format of language names, refer to IOcrLanguageManager.
Gets a value that determine whether a given spell language is supported by the engine.

Syntax

Visual Basic (Declaration) 
Function IsSpellLanguageSupported( _
   ByVal name As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IOcrSpellCheckManager
Dim name As String
Dim value As Boolean
 
value = instance.IsSpellLanguageSupported(name)
C# 
bool IsSpellLanguageSupported( 
   string name
)
C++/CLI 
bool IsSpellLanguageSupported( 
   String^ name
) 

Parameters

name
The language name. For more information about the format of language names, refer to IOcrLanguageManager.

Return Value

True if this language can be used as the spell language; otherwise it is false.

Example

For an example, refer to IOcrSpellCheckManager.

Remarks

You can get the names of all the spell languages supported by the engine with the GetSupportedSpellLanguages method.

You can get or set the current spell language in the engine with the SpellLanguage property. The value you pass to SpellLanguage must be one of the values reported to be supported by the engine.

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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