ImageEn, unit iewia

TIEWia.SourceNameToIndex

TIEWia.SourceNameToIndex

Declaration

function SourceNameToIndex(const sName: string): Integer;

Description

Returns the index of a device in the WIA source list.

Example

// Set source name to index
idx := ImageEnView1.IO.WIAParams.SourceNameToIndex( edtDeviceName.Text );

See Also

FindSourceByName
SourceNameToIndex