ImageEn, unit iesettings

TIEGlobalSettings.TwainTransferBufferSize

TIEGlobalSettings.TwainTransferBufferSize


Declaration

property TwainTransferBufferSize: DWord;


Description

Specifies the default buffer size used to transfer images from Twain devices (in Bytes). A large buffer size can improve performance.
Set to 0 to force usage of the device's recommended value.

Default: 1048576 (One MB)


Example

// Acquire from the first Twain device using its recommended transfer buffer
IEGlobalSettings().TwainTransferBufferSize := 0;
if ImageEnView1.IO.SetAcquireSource( ieaTwain, 0 ) then
  ImageEnView1.IO.Acquire();