ImageEn, unit ietwain

TIETwainParams.AutoDiscardBlankPages

TIETwainParams.AutoDiscardBlankPages


Declaration

property AutoDiscardBlankPages: integer;


Description

Enable this capability to have the scanner discard blank images.
Applications never see these images during the scanning session.

Allowed values:
Value Description
Twain_AutoDiscard_Disable (-2) All images will be delivered to the application even if they are blank
Twain_AutoDiscard_DiscardBlank (-1) The scanner will decide if an image is blank or not and discard as appropriate
>=0 The scanner will use the value as the byte size cut-off point to identify which images to discard.
If the image size is less than or equal to this value, then it will be discarded.
If the image size is greater than this value, then it will be transferred to the application

Twain Property: ICAP_AUTODISCARDBLANKPAGES

Note: Use IsCapabilitySupported to determine if this capability is supported by the current scanner