Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetDeviceEventCapability Method
See Also 
Leadtools.Twain Namespace > TwainSession Class : SetDeviceEventCapability Method



deviceCap
Contains the capability values to set
deviceCap
Contains the capability values to set
Sets CAP_DEVICEEVENT capability values

Syntax

Visual Basic (Declaration) 
Public Sub SetDeviceEventCapability( _
   ByVal deviceCap As TwainCapability _
) 
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim deviceCap As TwainCapability
 
instance.SetDeviceEventCapability(deviceCap)
C# 
public void SetDeviceEventCapability( 
   TwainCapability deviceCap
)
C++/CLI 
public:
void SetDeviceEventCapability( 
   TwainCapability^ deviceCap
) 

Parameters

deviceCap
Contains the capability values to set

Example

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also