ColorScheme Property

Summary

Gets or sets color scheme to use when scanning is to be done.

Syntax
C#
VB
C++
public TwainColorScheme ColorScheme { get; set; } 
Public Property ColorScheme As TwainColorScheme 
public: 
property TwainColorScheme ColorScheme { 
   TwainColorScheme get(); 
   void set (    TwainColorScheme ); 
} 

Property Value

Color scheme to use when scanning is to be done. Possible values are (according to the TWAIN 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 ImageEffects example.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly