Click or drag to resize

TwainImageInfo Class

This class is used with SendCommand to get information about the image about to be scanned or the one that was just acquired.
Inheritance Hierarchy
SystemObject
  Atalasoft.TwainTwainImageInfo

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

The TwainImageInfo type exposes the following members.

Constructors
  NameDescription
Public methodTwainImageInfo
Creates a new instance of TwainImageInfo.
Top
Properties
  NameDescription
Public propertyBitsPerPixel
Gets the number of bits per pixel for the image.
Public propertyCompression
Gets the compression mode used in the data transfer.
Public propertyPixelType
Gets the pixel type of the image.
Public propertyPlanar
Gets a value indicating whether the image data is transferred in planar format.
Public propertyResolution
Gets the resolution values for the transfer.
Public propertySamplePerPixel
Gets the number of samples per pixel.
Public propertySize
Gets the size of the image.
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 methodGetBitsPerSample
Gets an array of values specifying the bits per sample for each image channel.
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 ImageInfoGetTwainTriplet.
See Also