←Select platform

Code Property

Summary

Gets or sets the character code (value).

Syntax
C#
VB
Objective-C
C++
Java
public char Code { get; set; } 
Public Property Code As Char 
@property (nonatomic, assign) wchar_t code 
public char getCode() 
public void setCode(char value) 
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.SaveXml.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly