Scanner 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
Scanner1.OCRRecognizeMode=0
Scanner1.OCRStartScan(0, "dictfiles")

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