Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsRecognized Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : IsRecognized Property



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

Syntax

Visual Basic (Declaration) 
Overridable ReadOnly Property IsRecognized As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IOcrPage
Dim value As Boolean
 
value = instance.IsRecognized
C# 
virtual bool IsRecognized {get;}
C++/CLI 
virtual property bool IsRecognized {
   bool get();
}

Return Value

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

Example

For an example, refer to IOcrPage.

Remarks

You can recognize a page with the IOcrPage.Recognize or RecognizeText methods. 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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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