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
The TwImageInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Fields
Name | Description | |
---|---|---|
BitsPerPixel |
Number of bits for each padded pixel.
| |
BitsPerSample |
Number of bits for each sample.
| |
Compression |
How the data is compressed.
| |
ImageLength |
Rows in the image, -1 if unknown by DS.
| |
ImageWidth |
Columns in the image, -1 if unknown by DS.
| |
PixelType |
How to interp data; photo interp.
| |
Planar |
True if Planar, False if chunky.
| |
SamplesPerPixel |
Number of samples per pixel, 3 for RGB.
| |
XResolution |
Resolution in the horizontal.
| |
YResolution |
Resolution in the vertical.
|
See Also