TIETwainParams.SelectedSource
Declaration
property SelectedSource: Integer;
Description
Specifies the selected scanner (source) by an index of SourceName[] list.
This is an alternative method to select a scanner without calling the
SelectAcquireSource method.
Default: 0 (first scanner)
Example
// 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();