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.4.3.0 (1.4.3.0)
Syntax

public struct TwImageInfo

The TwImageInfo type exposes the following members.

Methods

  NameDescription
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToString (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