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



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

Gets the accuracy and timing data of the latest successful recognition process.

Syntax

Visual Basic (Declaration) 
Function GetLastStatistic() As OcrStatistic
Visual Basic (Usage)Copy Code
Dim instance As IOcrEngine
Dim value As OcrStatistic
 
value = instance.GetLastStatistic()
C# 
OcrStatistic GetLastStatistic()
C++/CLI 
OcrStatistic GetLastStatistic(); 

Return Value

An OcrStatistic object that contains accuracy and timing data of the latest successful recognition process.

Example

For an example, refer to OcrStatistic

Remarks

You can use this method after calling IOcrPage.AutoPreprocess, IOcrPage.AutoZone, IOcrPage.Recognize or IOcrDocument.Save to get the accuracy and timing data of the latest successful recognition process

If you use the IOcrPageCollection.Recognize method, the GetLastStatistic will return the statistic for the last page only.

Note: When using the LEADTOOLS OCR Advantage Engine you can use this method ONLY after calling the IOcrPage.Recognize method.

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

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