ImageEn, unit ietwain

TIETwainParams.AutoSize

TIETwainParams.AutoSize


Declaration

property AutoSize: TIEIntegerList;


Description

Enables support for dynamically setting the scan sized based on the source.

Allowed values:

TWAS_NONE (0): No automatic size detection
TWAS_AUTO (1): Enable automatic size detection
TWAS_CURRENT (2): Use the currently set value

Twain Property: ICAP_AUTOSIZE

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


Example

// Enable automatic size detection
ImageEnView1.IO.TwainParams.AutoSize.CurrentValue := TWAS_AUTO;


See Also

StandardSize