Scanner ActiveX Control

DirectScanInit

 

Initialize the direct Scan mode.

Public Function DirectScanInit( _
   ByVal bEnable As Bool ,_
   ByVal strOutputFolder As String ,_
  ByVal strOutputType As String
) 

 

Parameter

bEnable
true - enable direct scan mode, false - disable direct scan mode

strOutputFolder
the path of scanned page's output folder

strOutputType
png - PNG file
jpg - jpg file
gif - GIF file
tif - TIFF file
pdf - pdf file
bmp - bmp file

No Return Value


Example

   

Visual Basic Syntax
Scanner1.DirectScanInit True, "c:\temp", "tif"
Scanner1.SelectImageSource
Scanner1.Scan
'After scanned all pages. In button click event call following
Scanner1.DirectMergeTIF "c:\mytif.tif"