Scanner ActiveX Control

OCRScanTextAsync

 

Set the Asynchronous Mode or Blocking Mode for OCR2SearchableMultipagePDF and OCRStartScan method.

Public Function OCRScanTextAsync( _
   ByVal bAsync As Bool) 

 

Parameter

bAsync
true - Asynchronous Mode, false - Blocking Mode


Example

   

Visual Basic Syntax
Scanner1.OCRScanTextAsync True
Scanner1.OCRRecognizeMode = 0
iresult = Scanner1.OCR2SearchableMultipagePDF("c:\test.pdf", iLangIndex, "dictfiles")