LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Code Property (OcrCharacter)

Show in webframe







Gets or sets the character code (value).
Syntax
public char Code {get; set;}
'Declaration
 
Public Property Code As Char
'Usage
 
Dim instance As OcrCharacter
Dim value As Char
 
instance.Code = value
 
value = instance.Code
public char Code {get; set;}
@property (nonatomic, assign) unichar code;
public char getCode()
public void setCode(char value)
            
 
get_Code();
set_Code(value);
Object.defineProperty('Code');
public:
property char Code {
   char get();
   void set (    char value);
}

Property Value

The character code (value) of the first guess of the recognition, or zero (0) signaling that the OCR engine could not recognize the character (rejected character).
Remarks

The confidence of the character code value is expressed in a value of 0 (worst) to 100 (best) in the Confidence property.

To get the recognized characters of a page, call IOcrPage.GetRecognizedCharacters after IOcrPage.Recognize or IOcrPage.RecognizeText.

To update the recognized characters of a page, call IOcrPage.GetRecognizedCharacters before calling IOcrDocument.Save, or IOcrDocument.SaveAsync, IOcrDocument.SaveXml or or IOcrDocument.SaveXmlAsync.

Example
For an example, refer to IOcrPage.GetRecognizedCharacters.
Requirements

Target Platforms

See Also

Reference

OcrCharacter Structure
OcrCharacter Members
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR
OCR Confidence Reporting

 

 


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

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