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

IsLanguageSupported Method






The name of the language to check. The language values used throughout the LEADTOOLS OCR toolkit is a string value based on RFC 4646 (Windows Vista and later). The name could be an ISO 639 two-letter lowercase culture code associated with a language or a combination of ISO 630 and ISO 3166 two-letter uppercase subculture code associated with a country or region.
Gets a value that determine if a given language is supported by the IOcrEngine. .NET support WinRT support
Syntax
bool IsLanguageSupported( 
   string name
)
'Declaration
 
Function IsLanguageSupported( _
   ByVal name As String _
) As Boolean
'Usage
 
Dim instance As IOcrLanguageManager
Dim name As String
Dim value As Boolean
 
value = instance.IsLanguageSupported(name)
bool IsLanguageSupported( 
   string name
)
function Leadtools.Forms.Ocr.IOcrLanguageManager.IsLanguageSupported( 
   name 
)
bool IsLanguageSupported( 
   String^ name
) 

Parameters

name
The name of the language to check. The language values used throughout the LEADTOOLS OCR toolkit is a string value based on RFC 4646 (Windows Vista and later). The name could be an ISO 639 two-letter lowercase culture code associated with a language or a combination of ISO 630 and ISO 3166 two-letter uppercase subculture code associated with a country or region.

Return Value

true if the language specified by name is supported by the IOcrEngine; otherwise it is false.
Remarks

Use the GetSupportedLanguages method to get a list of all the language supported by the IOcrEngine.

The language environment defines the character set(s) recognized by the OCR engine. For example, if you enable the English and German languages, the German characters (ä, Ä, é, ö, Ö, ü, Ü, ß) will be combined with the English characters to define the set recognized by the engine. The language environment does not perform spell checking however, for that, refer to IOcrSpellCheckManager.

Example
For an example, refer to IOcrLanguageManager.
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

IOcrLanguageManager Interface
IOcrLanguageManager Members
IOcrLanguageManager Interface
GetSupportedLanguages Method
EnableLanguages Method
GetEnabledLanguages Method
IOcrEngine.Startup
IOcrEngine.IsStarted
IOcrEngine.Shutdown
OcrEngineManager Class
OcrEngineType Enumeration
Programming with the LEADTOOLS .NET OCR
Files to be Included with Your Application
Working with OCR Languages
OCR Languages and Spell Checking

 

 


Products | Support | Contact Us | Copyright Notices

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

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