LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

GetSupportedLanguages Method

Show in webframe







Gets an array of the supported languages by the IOcrEngine.
Syntax
string[] GetSupportedLanguages()
'Declaration
 
Function GetSupportedLanguages() As String()
'Usage
 
Dim instance As IOcrLanguageManager
Dim value() As String
 
value = instance.GetSupportedLanguages()
string[] GetSupportedLanguages()
- (NSArray*)getSupportedLanguages:(NSError**)outError;
public String[] getSupportedLanguages()
function Leadtools.Forms.Ocr.IOcrLanguageManager.GetSupportedLanguages()
array<String^>^ GetSupportedLanguages(); 

Return Value

An array of System.String objects that contain the names of the supported languages by the IOcrEngine.
Remarks

Use the IsLanguageSupported method to check if an individual language is supported by the IOcrEngine.

The supported languages are values that are both supported by this IOcrEngine and are installed on your system. To check if there are additional languages that are supported by the IOcrEngine but not currently installed on your system, use GetAdditionalLanguages.

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.

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

See Also

Reference

IOcrLanguageManager Interface
IOcrLanguageManager Members
IOcrLanguageManager Interface
IsLanguageSupported 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-2014 All Rights Reserved. LEAD Technologies, Inc.

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