Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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) 
Overridable 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# 
virtual bool IsSpellLanguageSupported( 
   string name
)
C++/CLI 
virtual 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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