Scanner ActiveX Control

GetCaptureArea

 

Get the current default capture area of scanner.

Public Function GetCaptureArea( _
   ByVal iLeft As double, _
   ByVal iTop As double, _
   ByVal iWidth As double, _
   ByVal iHeight As double
   ) as Bool

 

Parameter

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

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

iWidth
 Return Specifies the width of the capture area.

iHeight
 Return Specifies the height of the capture area.


Example

   

Visual Basic Syntax
Scanner1.Scan
Private Sub Scanner1_EndScan()
Scanner1.GetCaptureArea iLeft,iTop,iWidth,iHeight
End Sub