VintaSoft Twain .NET SDK v10.2
DeviceAsyncEventArgs Constructor(String,UInt32,UInt32,UInt32)




Vintasoft.WpfTwain Namespace > DeviceAsyncEventArgs Class > DeviceAsyncEventArgs Constructor : DeviceAsyncEventArgs Constructor(String,UInt32,UInt32,UInt32)
The name of the device that generated the event.
The number of images camera will capture.
The number of seconds before first capture.
The hundredths of a second between captures.
Initializes a new instance of the DeviceAsyncEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal deviceName As String, _
   ByVal automaticCapture As UInteger, _
   ByVal timeBeforeFirstCapture As UInteger, _
   ByVal timeBetweenCaptures As UInteger _
)
'Usage
 
Dim deviceName As String
Dim automaticCapture As UInteger
Dim timeBeforeFirstCapture As UInteger
Dim timeBetweenCaptures As UInteger
 
Dim instance As New DeviceAsyncEventArgs(deviceName, automaticCapture, timeBeforeFirstCapture, timeBetweenCaptures)
public DeviceAsyncEventArgs( 
   string deviceName,
   uint automaticCapture,
   uint timeBeforeFirstCapture,
   uint timeBetweenCaptures
)
public: DeviceAsyncEventArgs( 
   string* deviceName,
   uint automaticCapture,
   uint timeBeforeFirstCapture,
   uint timeBetweenCaptures
)
public:
DeviceAsyncEventArgs( 
   String^ deviceName,
   uint automaticCapture,
   uint timeBeforeFirstCapture,
   uint timeBetweenCaptures
)

Parameters

deviceName
The name of the device that generated the event.
automaticCapture
The number of images camera will capture.
timeBeforeFirstCapture
The number of seconds before first capture.
timeBetweenCaptures
The hundredths of a second between captures.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

DeviceAsyncEventArgs Class
DeviceAsyncEventArgs Members
Overload List