ImageEn, unit iewia

TIEWia.ConnectTo

TIEWia.ConnectTo


Declaration

function ConnectTo(idx : integer) : boolean;overload;
function ConnectTo(const sName : string) : boolean; overload;


Description

Connect to the specified device. Returns True if successful.


Example

// Connect to the second device
ImageEnView.IO.WiaParams.ConnectTo( 1 );

// Connect to a named scanner
ImageEnView.IO.WiaParams.ConnectTo('CanoScan FB620');