Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

SetDeviceEventCapability Method






Contains the capability values to set
Sets CAP_DEVICEEVENT capability values
Syntax
public void SetDeviceEventCapability( 
   TwainCapability deviceCap
)
'Declaration
 
Public Sub SetDeviceEventCapability( _
   ByVal deviceCap As TwainCapability _
) 
'Usage
 
Dim instance As TwainSession
Dim deviceCap As TwainCapability
 
instance.SetDeviceEventCapability(deviceCap)
public void SetDeviceEventCapability( 
   TwainCapability deviceCap
)
 function Leadtools.Twain.TwainSession.SetDeviceEventCapability( 
   deviceCap 
)
public:
void SetDeviceEventCapability( 
   TwainCapability^ deviceCap
) 

Parameters

deviceCap
Contains the capability values to set
Remarks
This method will set CAP_DEVICEEVENT capability to defaults values. To get CAP_DEVICEEVENT capability values, call GetDeviceEventCapability method, and to reset the CAP_DEVICEEVENT values, call ResetDeviceEventCapability method.
Example
Refer to GetDeviceEventCapability example.
Requirements

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

See Also

Reference

TwainSession Class
TwainSession Members
EnableGetDeviceEvent Property
GetDeviceEventData Method
GetDeviceEventCapability Method
ResetDeviceEventCapability Method
Leadtools.Twain.TwainSession.GetDeviceEvent
TwainDeviceEvent Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.