TIETwainParams.SetDefaultParams
Declaration
procedure SetDefaultParams();
Description
Restores the Twain settings their default. You can also use this method to refresh the list of available scanners.
// Force detection of available devices
ImageEnView1.IO.TwainParams.SetDefaultParams();
// Fill ListBox1 with all scanner on the system
for q := 0 to ImageEnView1.IO.TwainParams.SourceCount - 1 do
ListBox1.Items.Add( ImageEnView1.IO.TwainParams.SourceName[q] );