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



deviceCap
Contains the capability values to reset
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
)
C++/CLI 
public:
void ResetDeviceEventCapability( 
   TwainCapability^ deviceCap
) 

Parameters

deviceCap
Contains the capability values to reset

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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also