PixelFlavor property (ILTImageEffects)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short PixelFlavor

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets or sets the value indicating the pixel flavor used when acquiring an image from a TWAIN source. Possible values are (according to the TWAIN 1.9 specification):

Value

Meaning

L_TWPF_CHOCOLATE

Zero stands for the darkest shade.

L_TWPF_VANILLA

Zero stands for the lightest shade.

This property is updated with the current setting when the GetProperties method is called.

To update the image effect options, set this property and the other ILTImageEffects properties accessed by the ImageEffects property and call the SetProperties method.

See Also

Elements

ImageEffects property, ColorScheme property, HighLight property, Shadow property, Brightness property, Contrast property, HalfTone property, GetProperties method, SetProperties method

Topics

TWAIN Functionality: Driver Settings