Click or drag to resize

TwainCustomData Class

This class is used with SendCommand to query the device for its current settings or to restore previously saved settings.
Inheritance Hierarchy
SystemObject
  Atalasoft.TwainTwainCustomData

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 TwainCustomData : ITwainDataStructure

The TwainCustomData type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyData
Gets an array of bytes containing the data.
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

The device must support the CAP_CUSTOMDSDATA capability to use this class.

This class is used by the LoadParameters(Stream) and SaveParameters(Stream) methods of the Device object.

See Also