LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IsRecognized Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : IsRecognized Property



The IsRecognized Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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

Syntax

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

Property 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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