Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also