Click or drag to resize

TwainEvent Class

This class is used with SendCommand() to process Windows messages during an acquisition.
Inheritance Hierarchy
System.Object
  Atalasoft.Twain.TwainEvent

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public class TwainEvent : ITwainDataStructure

The TwainEvent type exposes the following members.

Constructors
  NameDescription
Public methodTwainEvent
Creates a new instance of TwainEvent specifying the event message pointer.
Top
Properties
  NameDescription
Public propertyEventMessage
Gets a pointer to the event message.
Public propertyTwainMessage
Gets the value returned from the device for this message.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStructurePointer
Creates the memory pointer containing data sent to Twain.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSupportedCommand
Returns a value indicating whether the implementing class supports a specific TwainTriplet command.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessResult
Receives the data pointer created by GetStructurePointer(TwainMemory) after being processed by Twain.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class can only be used with the EventProcessEventTwainTriplet.
See Also