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




Defines the event that has taken place.

Syntax

Visual Basic (Declaration) 
Public Property Event As TwainCapabilityValue
Visual Basic (Usage)Copy Code
Dim instance As TwainDeviceEvent
Dim value As TwainCapabilityValue
 
instance.Event = value
 
value = instance.Event
C# 
public TwainCapabilityValue Event {get; set;}
Managed Extensions for C++ 
public: __property TwainCapabilityValue get_Event();
public: __property void set_Event( 
   TwainCapabilityValue value
);
C++/CLI 
public:
property TwainCapabilityValue Event {
   TwainCapabilityValue get();
   void set (TwainCapabilityValue value);
}

Return Value

Device events used by the TWAIN source. Possible values are (according to the TWAIN 1.9 specification):

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