Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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

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