Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
ResetDeviceEventCapability Method
See Also 
Leadtools.Twain Namespace > TwainSession Class : ResetDeviceEventCapability Method




deviceCap
Contains the capability values to reset
Resets CAP_DEVICEEVENT capability to defaults values

Syntax

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

Parameters

deviceCap
Contains the capability values to reset

Example

Refer to GetDeviceEventCapability example.

Remarks

This method will reset CAP_DEVICEEVENT capability to defaults values. To get CAP_DEVICEEVENT capability values, call GetDeviceEventCapability method, and to set the CAP_DEVICEEVENT values, call SetDeviceEventCapability method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also