Image Viewer CP ActiveX Control

OCRGetRecognizedCharLine

 

Return the line position of one of the characters recognized during the last OCR process done by the OCRStartScan() method.

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

 

Parameter

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


Return Value
    The line position of one of the characters recognized.

Example

   

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

'after OCRRecognized event fired
ilinepos= ImageViewer1.OCRGetRecognizedCharLine 1