Declaration
property Sources[Index : Integer] : TIEPortableDevicesSource; (Read-only)
Description
Return details of a DCIM source.
Note: Each source represents a DCIM folder on a device, so a device may appear twice in the list if it has multiple DCIM folders.
// Display the name of the selected device
edtSource.Text := ImageEnView1.IO.AcquireParams.DCIMParams.Sources[ ImageEnView1.IO.AcquireParams.DCIMParams.SelectedSource ].Name;
// 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;
See Also
◼SelectedSource
◼SourceCount
◼SourceNameToIndex