TIEAcquireParams.FindSourceByName
Declaration
function FindSourceByName(const sName : string) : TIEAcquireSource;
Description
Pass the name of a Twain or WIA device and a TIEAcquireSource will be returned if it is valid.
ASource := ImageEnView1.IO.FindSourceByName(edtTwainName.text);
if (ASource.API <> ieaNone) and ImageEnView1.IO.SetAcquireSource(ASource.API, ASource.Location) then
ImageEnView1.IO.Acquire();
See Also
◼SetSource◼StrToAcquireSource