ICAP_AUTODISCARDBLANKPAGES

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: ICAP_AUTODISCARDBLANKPAGES

ICAP_AUTODISCARDBLANKPAGES

Description

Use this capability to have the Source discard blank images. The Application never sees these images during the scanning session.

TWBP_DISABLE – this must be the default state for the Source. It indicates that all images will be delivered to the Application, none of them will be discarded.

TWBP_AUTO – if this is used, then the Source will decide if an image is blank or not and discard as appropriate.

If the specified value is a positive number in the range 0 to 231–1, then this capability will use it as the byte size cutoff point to identify which images are to be discarded. If the size of the image is less than or equal to this value, then it will be discarded. If the size of the image is greater than this value, then it will be kept so that it can be transferred to the Application.

Values

Type: TW_INT

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

After MSG_RESET/MSG_RESETALL: TWBP_DISABLE

Allowed Values: TWBP_DISABLE TWBP_AUTO Byte count 0 to 231-1

Containers

MSG_GET TW_ONEVALUE TW_RANGE

MSG_GETCURRENT TW_ONEVALUE

MSG_GETDEFAULT TW_ONEVALUE

MSG_SET TW_ONEVALUE

MSG_SETCONSTRAINT TW_ONEVALUE

TW_RANGE

MSG_RESET TW_ONEVALUE

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

None

TWAIN Version Introduced

Version 2.0

Related

TWAIN Notice

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