Image Viewer CP ActiveX Control

OCRSaveRecognizedText

 

Save the recognized text to text file.

Public Function OCRSaveRecognizedText( _
   ByVal strTextFile As Integer
) as Bool

 

Parameter

strTextFile
   the path of output file name.


Return Value
    Return true if successful, otherwise return false.

Example

   

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

'after OCRRecognized event fired
bresult= ImageViewer1.OCRSaveRecognizedText("c:\text.txt")