ImageEn, unit iemio

TImageEnMIO.TwainAcquireOpen

TImageEnMIO.TwainAcquireOpen


Declaration

function TwainAcquireOpen(): boolean;


Description

Opens a connection to the selected scanner. It is useful for modeless acquisition. Result is false if the method fails.

Whenever ImageEn gets an image the OnAcquireBitmap and OnAfterAcquireBitmap events occur.


Demo

Demo  Demos\ImageAcquisition\Twain\TwainDemo.dpr


Example

ImageEnMIO.TwainAcquireOpen();
..
ImageEnMIO.TwainAcquireClose();