Declaration
property Sources[Index: Integer]: TIEPortableDevicesSource;
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.
Read-only
Example
// 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