TIETwainParams.SelectedSource
Declaration
property SelectedSource: integer;
Description
SelectedSource is an index of SourceName[] list, and defines the currently selected scanner (source).
This is an alternative method to select a scanner without calling the
SelectAcquireSource method.
Default: 0 (first scanner)
// Select the second scanner
ImageEnView1.IO.TwainParams.SelectedSource := 1;
// OR Select scanner by name
ImageEnView1.IO.TwainParams.SelectSourceByName('CanoScan FB620');
// OR Select scanner with standard dialog
ImageEnView1.IO.SelectAcquireSource();
// THEN Acquire
ImageEnView1.IO.Acquire();