HalfTone property (ILTImageEffects)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

BSTR HalfTone

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets or sets the name of the pattern to apply to the image being scanned.

This property is equivalent to the ICAP_BITDEPTHREDUCTION capability. There are two ways of determining the possible values for this capability:

image\sqrblit.gif call the QueryCapability method with pCapability. Capability set to ICAP_BITDEPTHREDUCTION.

image\sqrblit.gif call the GetCapability method (MFC) or the GetCapability2 method (VB) with pCapability. Capability set to ICAP_BITDEPTHREDUCTION and the IFlags parameter set to L_LTWAIN_CAPABILITY_GETVALUES.

For more information on specific TWAIN capabilities, refer to the TWAIN 1.9 specification.

This property is updated with the driver’s 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, PixelFlavor property, ColorScheme property, HighLight property, Shadow property, Brightness property, Contrast property, GetProperties method, SetProperties method, GetCapability method, GetCapability2 method, QueryCapability method

Topics

TWAIN Functionality: Driver Settings