Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
public: __property TwainImagePixelFlavor get_PixelFlavor();
public: __property void set_PixelFlavor( 
   TwainImagePixelFlavor value
);
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 1.9 specification): TwainCapabilityValue.PixelFlavorChocolate zero stands for the darkest shade, TwainCapabilityValue.PixelFlavorVanilla zero stands for the lightest shade.

Example

Refer to 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