The type of pixel data that a scanner is capable of acquiring.

Default allowed values are:

TW_BlackWhite : Black/white (1 bit)

TW_GrayScale : Gray scale (8 bit)

TW_RGB : full RGB (24 bit)

TW_Palette : palette (unsupported)

TW_CMY : CMY (unsupported)

TW_CMYK : CMYK (unsupported)

TW_YUV : YUV (unsupported)

TW_YUVK : YUVK (unsupported)

TW_CIEXYZ : CIEXYZ (unsupported)

Above values can be assigned to PixelType.CurrentValue property. To see which values your scanner supports look at PixelType.Items[] array.

You can also limit scanner user interface allowed values removing some PixelTtype[] items.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public IEIntList PixelType { get; }
Public ReadOnly Property PixelType As IEIntList
	Get
public:
property IEIntList^ PixelType {
	IEIntList^ get ();
}

Examples

CopyC#
Image.TWainParams.PixelType.CurrentValue=TWainParams.TW_RGB;
Image.AcquireFromTWain();

See Also