LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Language Property

Show in webframe







Gets or sets the zone language.
Syntax
public string Language {get; set;}
'Declaration
 
Public Property Language As String
'Usage
 
Dim instance As OcrZone
Dim value As String
 
instance.Language = value
 
value = instance.Language
public string Language {get; set;}
@property (nonatomic, assign) LTOcrZoneLanguage.language;
public OcrZoneFillMethod getLanguage()
public void setLanguage(string value)
            
 
get_Language();
set_Language(value);
Object.defineProperty('Language');
public:
property String^ Language {
   String^ get();
   void set (    String^ value);
}

Property Value

A string that indicate the zone language. Default value is null.
Remarks

Language property is supported in LEADTOOLS OCR Advantage Engine only.

This property can be used to set or get the language of a zone. Setting the language of zone: The zone language must be set before the recognition process and the value returned will depend on the initial value and number of languages enabled in IOcrLanguageManager as follows:

Input value Number of languages enabled Output value Recognition language used
Null or empty string (default) 1 Null or empty string (default) since no language detection is performed Enabled language
Null or empty string (default) Greater than 1 Detection is perform, Language will contain the detected language name (even if the language is not enabled but supported) Language detected in the zone
A supported language name, such "en" or "de" 1 or greater No language detection is performed Input language value

Zone language detection is a dictionary based method. For more information on OCR languages and spell checkers, refer to IOcrLanguageManager and IOcrSpellCheckManager.

Requirements

Target Platforms

See Also

Reference

OcrZone Structure
OcrZone Members
AutoZone Method
OcrZoneType Enumeration
OcrZoneFillMethod Enumeration
OcrZoneRecognitionModule Enumeration
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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