This method retrieves information about the specified scan device, such as manufacturer, product name, etc.

[C++Builder]   [ bool = ]imagekitcontrolname->Scan->GetDataSourceInfo()
[Delphi]   [ Boolean = ]imagekitcontrolname.Scan.GetDataSourceInfo

Parameters

None

Return Value

Returns True when successful, returns False when not successful.

Explanation

The GetDataSourceInfo method retrieves information about the specified scan device, such as manufacturer, product name, etc. Prior to executing the GetDataSourceInfo method the DataSourceName property, specifing the scan device, must be set or the scan device must be selected using the Select method.

If the GetDataSourceInfo method executes successfully, the information about the scan device will be set in following properties: Manufacturer, ProductFamily, ProductName, ProtocolMajor, ProtocolMinor, SourceMajor, SourceMinor, SourceVersionInfo.

Prior to executing the GetDataSourceInfo method, you must execute the Initialize method.

The GetDataSourceInfo method corresponds to the Scan Control's ScanGetDSInfo method in earlier version of the ImageKit.

The ImageKit10 VCL is a product created by Newtone Corporation