ImageEn, unit iexdcim

TIEDcimAcquire.SourceCount

TIEDcimAcquire.SourceCount


Declaration

property SourceCount : Integer;  (Read-only)


Description

Returns the count of items in the source list.


See Also

Sources
SourceNameToIndex


Example

// Add the name of all sources to our source selector
procedure TfrmMain.btnRefreshClick(Sender: TObject);
var
  I : Integer;
begin
  ImageEnView1.IO.AcquireParams.DCIMParams.Refresh();
  cmbSources.Items.Clear;
  For I := 0 to ImageEnView1.IO.AcquireParams.DCIMParams.SourceCount - 1 do
    cmbSources.Items.Add( ImageEnView1.IO.AcquireParams.DCIMParams.Sources[ I ];
end;