ImageEn, unit iemio

TImageEnMIO.WIAParams

TImageEnMIO.WIAParams


Declaration

property WIAParams: TIEWia;


Description

Provides access to parameters, dialogs and methods of connected WIA devices.

Note: Use WIAParams only when you need access to WIA specific functionality (when SelectedAcquireSource.Api is ieaWIA). For generic access to all image acquisitions sources (Twain, WIA, etc.) use AcquireParams instead.


Demo

Demo  Demos\ImageAcquisition\WIAScanner\WIAScanner.dpr


Example

// Acquire an image with a horizontal resolution of 150 dpi from the default WIA device
ImageEnMView1.MIO.WIAParams.SetItemProperty(WIA_IPS_XRES, 150);
if ImageEnMView1.MIO.SetAcquireSource(ieaWIA, Default_Device) then
  ImageEnMView1.MIO.Acquire();


See Also

TIEWia
AcquireParams
SelectedAcquireSource