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

PixelFlavor Property






Gets or sets pixel flavor used when acquiring.
Syntax
public TwainImagePixelFlavor PixelFlavor {get; set;}
'Declaration
 
Public Property PixelFlavor As TwainImagePixelFlavor
'Usage
 
Dim instance As TwainImageEffectsProperties
Dim value As TwainImagePixelFlavor
 
instance.PixelFlavor = value
 
value = instance.PixelFlavor
public TwainImagePixelFlavor PixelFlavor {get; set;}
 get_PixelFlavor();
set_PixelFlavor(value);
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: 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.