Leadtools.Twain Namespace > TwainSession Class : GetDeviceEvent Event |
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<~Remove~> GetDeviceEvent
add_GetDeviceEvent(function(sender, e)) remove_GetDeviceEvent(function(sender, e))
public: event EventHandler<EventArgs^>^ GetDeviceEvent
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2