ImageEn, unit imageenio

TImageEnIO.AcquireParams

TImageEnIO.AcquireParams


Declaration

property AcquireParams : TIEAcquireParams;


Description

AcquireParams is a powerful interface that provides generic access to all image acquistion APIs: Twain, WIA and Portable Devices (WPD). AcquireParams accesses TwainParams, WIAParams and DCIMParams.

If you have called SelectAcquireSource or Acquire then you can access common parameters for the device without having to know the API

See the TIEAcquireParams object for more details.


Demo

Demo  Demos\ImageAcquisition\AllAcquire\AllAcquire.dpr


Examples

// Scan an image at 300dpi
ImageEnView1.IO.AcquireParams.YResolution := 300;
ImageEnView1.IO.AcquireParams.XResolution := 300;
ImageEnView1.IO.Acquire();

// Enable duplexing on the current scanner
ImageEnView1.IO.AcquireParams.DuplexEnabled := True;