ImageEn, unit imageenio

TImageEnIO.TwainAcquireOpen

TImageEnIO.TwainAcquireOpen


Declaration

function TwainAcquireOpen(): boolean;


Description

Opens a connection to the selected scanner. It commonly used to perform a modeless acquisition from a Twain device. The result is false if it fails.

Whenever ImageEn gets an image, the OnAcquireBitmap event occurs.

See also: TwainAcquireClose


Demo

Demo  Demos\ImageAcquisition\Twain\TwainDemo.dpr


Example

ImageEnIO.TwainAcquireOpen();
...
ImageEnIO.TwainAcquireClose();