TwImageInfo StructureTerminal Works - TwainScanning.Net Library
Application gets detailed image info from DS with this.

Namespace: TwainScanning.NativeStructs
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax

public struct TwImageInfo

The TwImageInfo type exposes the following members.

Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields

  NameDescription
Public fieldBitsPerPixel
Number of bits for each padded pixel.
Public fieldBitsPerSample
Number of bits for each sample.
Public fieldCompression
How the data is compressed.
Public fieldImageLength
Rows in the image, -1 if unknown by DS.
Public fieldImageWidth
Columns in the image, -1 if unknown by DS.
Public fieldPixelType
How to interp data; photo interp.
Public fieldPlanar
True if Planar, False if chunky.
Public fieldSamplesPerPixel
Number of samples per pixel, 3 for RGB.
Public fieldXResolution
Resolution in the horizontal.
Public fieldYResolution
Resolution in the vertical.
Top
See Also

Reference