Leadtools TWAIN (Leadtools.Twain assembly)

GetDeviceEvent Event

Show in webframe





Occurs for for each device event received from the TWAIN source to the application
Syntax
public event EventHandler<EventArgs> GetDeviceEvent
'Declaration
 
Public Event GetDeviceEvent As EventHandler(Of EventArgs)
'Usage
 
Dim instance As TwainSession
Dim handler As EventHandler(Of EventArgs)
 
AddHandler instance.GetDeviceEvent, handler

            

            
public:
event EventHandler<EventArgs^>^ GetDeviceEvent
Remarks

This event will be fired with each received device event from the TWAIN source to the application, this event will be called while acquiring process.

To get more information for the received event by calling GetDeviceEventData method inside this event. To modify CAP_DEVICEEVENT capability values, call SetDeviceEventCapability method, and to get valid values for this capability, call GetDeviceEventCapability method.

Example
Refer to GetDeviceEventData example.
Requirements

Target Platforms

See Also

Reference

TwainSession Class
TwainSession Members
EnableGetDeviceEvent Property
GetDeviceEventData Method
SetDeviceEventCapability Method
GetDeviceEventCapability Method
ResetDeviceEventCapability Method
TwainDeviceEvent Class

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.