Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

ColorScheme Property (TwainImageEffectsProperties)






Gets or sets color scheme to use when scanning is to be done.
Syntax
public TwainColorScheme ColorScheme {get; set;}
'Declaration
 
Public Property ColorScheme As TwainColorScheme
'Usage
 
Dim instance As TwainImageEffectsProperties
Dim value As TwainColorScheme
 
instance.ColorScheme = value
 
value = instance.ColorScheme
public TwainColorScheme ColorScheme {get; set;}
 get_ColorScheme();
set_ColorScheme(value);
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.
Example
Refer to TwainProperties.ImageEffects example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainImageEffectsProperties Structure
TwainImageEffectsProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.