Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PixelFlavor Property
See Also 
Leadtools.Twain Namespace > TwainImageEffectsProperties Structure : PixelFlavor Property



Gets or sets pixel flavor used when acquiring.

Syntax

Visual Basic (Declaration) 
Public Property PixelFlavor As TwainImagePixelFlavor
Visual Basic (Usage)Copy Code
Dim instance As TwainImageEffectsProperties
Dim value As TwainImagePixelFlavor
 
instance.PixelFlavor = value
 
value = instance.PixelFlavor
C# 
public TwainImagePixelFlavor PixelFlavor {get; set;}
C++/CLI 
public:
property TwainImagePixelFlavor PixelFlavor {
   TwainImagePixelFlavor get();
   void set (TwainImagePixelFlavor value);
}

Return Value

Pixel flavor used when acquiring. Possible values are (according to the TWAIN 2.0 specification): TwainCapabilityValue.PixelFlavorChocolate zero stands for the darkest shade, TwainCapabilityValue.PixelFlavorVanilla zero stands for the lightest shade.

Example

Refer to TwainProperties.ImageEffects example.

Requirements

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

See Also