Declaration
function Acquire(DestBitmap: TIEBitmap; DestIOParams: TObject; OnProgress: TIEProgressEvent = nil; NativePixelFormat: Boolean = False): Boolean; overload;
function Acquire(OnGetImage: TIEMultiCallBack; OnProgress: TIEProgressEvent = nil; NativePixelFormat: Boolean = False): Boolean; overload;
Description
Perform an image acquisition from the
SelectedSource, which may be a Twain or WIA scanner, connected camera or phone. (
SelectedSource is set when the user chooses a source if you have called
SelectAcquireSource or manually set a source using
SetAcquireSource).
** Generally you should NOT call this method directly. Use Acquire or Acquire Instead **Acquiring a single image:
function Acquire(DestBitmap:
TIEBitmap; DestIOParams: TObject; OnProgress:
TIEProgressEvent = nil; NativePixelFormat: Boolean = False) : Boolean;
Parameter | Description |
DestBitmap | The TIEBitmap which will be filled with the acquired image |
DestIOParams | A TIOParams object which will be filled with the parameters of the acquired image (optional) |
OnProgress | Event to display acquisition progress and allow aborting (optional) |
NativePixelFormat | Set to true to disable conversion of paletted images, gray scale and all other formats to ImageEn native pixel formats (24 bit or 1 bit) |
Acquiring multiple images:
function Acquire(OnGetImage:
TIEMultiCallBack; OnProgress:
TIEProgressEvent = nil; NativePixelFormat: Boolean = False) : Boolean; overload;
Parameter | Description |
OnGetImage | Event to call for every acquired image |
OnProgress | Event to display acquisition progress and allow aborting (optional) |
NativePixelFormat | Set to true to disable conversion of paletted images, gray scale and all other formats to ImageEn native pixel formats (24 bit or 1 bit) |