Scanner ActiveX Control

SetCaptureArea

 

Set the capture area of scanner. The unit is inches, if you want to capture 8x11 inches area.
call SetCaptureArea(0.0,0.0,8.0,11.0)

Public Function SetCaptureArea( _
   ByVal iLeft As Double , _
   ByVal iTop As Double , _
   ByVal iWidth As Double , _
   ByVal iHeight As Double) 

 

Parameter

iLeft
 Specifies the logical left-coordinate of the starting point of the capture area.

iTop
 Specifies the logical top-coordinate of the starting point of the capture area.

iWidth
 Specifies the width of the capture area.

iHeight
 Specifies the height of the capture area.


No Return Value

Example

   

Visual Basic Syntax
Scanner1.SetCaptureArea 0,0,8.0,11.0
Scanner1.Scan