ICAP_THRESHOLD

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: ICAP_THRESHOLD

ICAP_THRESHOLD

Description

Specifies the dividing line between black and white. This is the value the Source will use to threshold, if needed, when ICAP_PIXELTYPE = TWPT_BW.

The value is normalized so there are no units of measure associated with this ICAP.

Application

Application will typically set ICAP_BITDEPTHREDUCTION to TWBR_THRESHOLD to use this capability.

Source

Values

Source should fit available values linearly into the defined range such that the lowest available value equals 0 and the highest equals 255.

Type: TW_FIX

Value after MSG_OPENDS: (may be remembered from a previous session)

After MSG_RESET/MSG_RESETALL: 128

Allowed Values: 0 to 255

Containers

MSG_GET TW_ONEVALUE TW_RANGE TW_ENUMERATION

MSG_GETCURRENT TW_ONEVALUE

MSG_GETDEFAULT TW_ONEVALUE

MSG_SET TW_ONEVALUE

MSG_SETCONSTRAINT TW_ONEVALUE

TW_RANGE TW_ENUMERATION

MSG_RESET TW_ONEVALUE

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

When the ICAP_BITDEPTHREDUCTION value is TWBR_THRESHOLD.

TWAIN Version Introduced

Version 1.0

Related

ICAP_BITDEPTHREDUCTION

TWAIN Notice

Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET