This method opens the scan datasource (scan device).

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

Parameters

None

Return Value

Returns True when successful, returns False when not successful.

Explanation

The OpenDataSource method opens the datasource set in the DataSourceName property. If the DataSourceName property is blank, please execute the Select method prior to executing the OpenDataSource method.

Note: After the OpenDataSource method has been executed, the datasource remains open until the CloseDataSource method is executed and other applications will not be able to be used.

Prior to executing the OpenDataSource and CloseDataSource methods, you must execute the Initialize method.

The OpenDataSource and CloseDataSource methods correspond to the ImageKit6 Scan Control's ScanOpenDS and ScanCloseDS methods in earlier versions of the ImageKit.

Differences between the ImageKit7/8/9

The name of this method has been changed from OpenDS

 

The ImageKit10 VCL is a product created by Newtone Corporation