Properties · Methods · Demos · Examples
Declaration
TIEAcquireParams = class;
Description
The TIEAcquireParams object provides a generic interface to the
Twain,
WIA and
Portable Devices interfaces of ImageEn. It allows you to use all available acquisition methods without writing separate code for Twain and WIA.
Do not create this class directly, but access via
TImageEnMView.MIO.AcquireParams or
TImageEnView.IO.AcquireParams
Overview
| Demos\ImageAcquisition\AllAcquire\AllAcquire.dpr |
if ImageEnView1.IO.SelectAcquireSource() then
begin
ImageEnView1.IO.Acquire();
ImageEnView1.IO.SaveToFile('D:\MyImage.jpg');
end;
// 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;
// Cancel scanning of multiple images
ImageEnMView1.MIO.AcquireParams.Aborting := True;
Embedded Acquisition Classes
General Method and Properties
Sources
Device Properties
Global Methods