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




Enables or disables firing GetDeviceEvent event

Syntax

Visual Basic (Declaration) 
Public Property EnableGetDeviceEvent As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim value As Boolean
 
instance.EnableGetDeviceEvent = value
 
value = instance.EnableGetDeviceEvent
C# 
public bool EnableGetDeviceEvent {get; set;}
Managed Extensions for C++ 
public: __property bool get_EnableGetDeviceEvent();
public: __property void set_EnableGetDeviceEvent( 
   bool value
);
C++/CLI 
public:
property bool EnableGetDeviceEvent {
   bool get();
   void set (bool value);
}

Return Value

true to enable firing the event; false to stop firing it.

Example

Refer to GetDeviceEventData example.

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