The type of pixel data that a scanner is capable of acquiring.
Namespace: HiComponents.IEvolutionDefault 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.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
Examples
CopyC#
Image.TWainParams.PixelType.CurrentValue=TWainParams.TW_RGB; Image.AcquireFromTWain();