←Select platform

Code Property

Summary

Gets or sets the character code (value).

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public char Code { get; set; } 
Public Property Code As Char 
public char Code {get; set;} 
@property (nonatomic, assign) wchar_t code 
public char getCode() 
public void setCode(char value) 
             
 <br/>get_Code();<br/>set_Code(value);<br/>Object.defineProperty('Code');  
public: 
property char Code { 
   char get(); 
   void set (    char ); 
} 

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.

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly