Click or drag to resize

TwainUserInterface Class

This class is used with the SendCommand method to display or hide the driver interface.
Inheritance Hierarchy
SystemObject
  Atalasoft.TwainTwainUserInterface

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class TwainUserInterface : ITwainDataStructure

The TwainUserInterface type exposes the following members.

Constructors
  NameDescription
Public methodTwainUserInterface
Creates a new instance of TwainUserInterface.
Public methodTwainUserInterface(Boolean, Boolean, IntPtr)
Creates a new instance of TwainUserInterface setting the showUI, modalUI and parentHandle properties.
Top
Properties
  NameDescription
Public propertyModalUI
Gets or sets a value indicating whether the dialog is shown modal.
Public propertyParentHandle
Gets or sets the window handle that will act as the parent for the dialog.
Public propertyShowUI
Gets or sets a value indicating whether the interface is shown or hidden.
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 UserInterfaceDisableDS, UserInterfaceEnableDS and UserInterfaceEnableDSUIOnlyTwainTriplet values.
See Also