Image Viewer CP ActiveX Control

OCRGetRecognizedCharRight

 

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

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

 

Parameter

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


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

Example

   

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

'after OCRRecognized event fired
irightpos= ImageViewer1.OCRGetRecognizedCharRight 1