- deviceCap
- Contains the capability values to set
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
Refer to Leadtools.Twain.TwainSession.GetDeviceEventCapability example.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7