Scanner ActiveX Control

OCRGetRecognizedCharCount

 

Returns the number of characters recognized during the last OCR process done by the OCRStartScan() method.

Public Function OCRGetRecognizedCharCount() as Integer

 

No Parameter

Return Value
    Returns the number of characters recognized.


Example

   

Visual Basic Syntax
Scanner1.OCRRecognizeMode=0
Scanner1.OCRStartScan(0, "dictfiles")

'after OCRRecognized event fired
itotalchar= Scanner1.OCRGetRecognizedCharCount