Visual Basic (Declaration) | |
---|---|
Public Property ColorScheme As TwainColorScheme |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TwainImageEffectsProperties Dim value As TwainColorScheme instance.ColorScheme = value value = instance.ColorScheme |
C# | |
---|---|
public TwainColorScheme ColorScheme {get; set;} |
C++/CLI | |
---|---|
public: property TwainColorScheme ColorScheme { TwainColorScheme get(); void set ( TwainColorScheme value); } |
Property Value
Color scheme to use when scanning is to be done. Possible values are (according to the TWAIN 2.0 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 TwainProperties.ImageEffects example.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7