Image Viewer CP ActiveX Control

OCRGetRecognizedText

 

Returns the recognized text during the last OCR process done by the OCRStartScan() method.

Public Function OCRGetRecognizedText( ) as String

 

No Parameter

Return Value
    Returns the recognized text.

Example

   

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

'after OCRRecognized event fired
msgbox ImageViewer1.OCRGetRecognizedText