Visual Basic (Declaration) | |
---|---|
Public Property ColorScheme As TwainColorScheme |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public TwainColorScheme ColorScheme {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property TwainColorScheme get_ColorScheme(); public: __property void set_ColorScheme( TwainColorScheme value ); |
C++/CLI | |
---|---|
public: property TwainColorScheme ColorScheme { TwainColorScheme get(); void set (TwainColorScheme value); } |
Return Value
Color scheme to use when scanning is to be done. Possible values are (according to the TWAIN 1.9 specification): TwainCapabilityValue.PixelTypeBW Black and White (1 bit). TwainCapabilityValue.PixelTypeGray 8-bit Gray Scale TwainCapabilityValue.PixelTypeRgb 24-bit RGB Color. TwainCapabilityValue.PixelTypePalette 8-bit Color. TwainCapabilityValue.PixelTypeCmy CYAN, magenta, yellow color space. TwainCapabilityValue.PixelTypeCmyk CYAN, magenta, yellow, black color space. TwainCapabilityValue.PixelTypeYuv Color space type that is true color encoding. It uses one luminance value (Y) and two chroma values (UV). TwainCapabilityValue.PixelTypeYuvk The same as YUV with an additional black variable. TwainCapabilityValue.PixelTypeCieXyz Chromaticity diagram.Refer to ImageEffects example.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family