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



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

Syntax

Visual Basic (Declaration) 
Overridable Function GetLastStatistic() As OcrStatistic
Visual Basic (Usage)Copy Code
Dim instance As IOcrEngine
Dim value As OcrStatistic
 
value = instance.GetLastStatistic()
C# 
virtual OcrStatistic GetLastStatistic()
C++/CLI 
virtual 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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