Scanner ActiveX Control

OCRGetRecognizedCharLeft

 

Returns the left position in pixel of one of the characters recognized during the last OCR process done by the OCRStartScan() method.

Public Function OCRGetRecognizedCharLeft( _
   ByVal iCharIndex As Integer
) as Integer

 

Parameter

iCharIndex
   the index of characters. The first index is 1.


Return Value
    The left position in pixel of one of the characters

Example

   

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

'after OCRRecognized event fired
ileftpos= Scanner1.OCRGetRecognizedCharLeft 1