ImageEn, unit ietwain

TIETwainParams.SourceCount

TIETwainParams.SourceCount


Declaration

property SourceCount: integer;


Description

Returns the count of the installed scanners. It also defines the length of the SourceName[] list.

Read-only


Example

// Fills the ListBox1 with all scanner names installed on the system
for q := 0 to ImageEnView1.IO.TwainParams.SourceCount-1 do
  ListBox1.Items.Add( ImageEnView1.IO.TwainParams.SourceName[q] );