←Select platform

Code Property

Summary

Gets or sets the character code (value).

Syntax

C#
VB
Java
Objective-C
C++
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.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly