Error processing SSI file
Leadtools TWAIN (Leadtools.Twain assembly)

Show in webframe

GetDeviceEvent Event






Occurs 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

Error processing SSI file