←Select platform

IsRecognized Property

Summary

Gets a value that indicates whether this page has been recognized at least once.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool IsRecognized { get; } 
ReadOnly Property IsRecognized As Boolean 
bool IsRecognized {get;} 
@property (nonatomic, assign, readonly) BOOL isRecognized 
public boolean isRecognized() 
get_IsRecognized();  
property bool IsRecognized { 
   bool get(); 
} 

Property Value

true if this IOcrPage has been recognized at least once, otherwise it is false.

Remarks

You can recognize a page with the Recognize method. The OCR recognition data is collected and stored internally in the page. You can also recognize all or some of the pages in the engine with the IOcrPageCollection.Recognize method of the collection that owns this page (IOcrDocument.Pages).

Once a page is recognized, you can call the GetRecognizedCharacters and SetRecognizedCharacters methods to examine and manipulate the recognition data.

You can call the Unrecognize method to clear the recognition data stored inside the page. Calling this method after the page is recognized will have the same effect as having a page that never been recognized. The value of IsRecognized will be set back to false after calling Unrecognize.

Example

For an example, refer to IOcrPage.

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