This method closes the scan datasource (scan device).
[C++Builder] [ bool =
]imagekitcontrolname->Scan->CloseDataSource()
[Delphi] [ Boolean =
]imagekitcontrolname.Scan.CloseDataSource
Parameters
None
Return Value
Returns True when successful, returns False when not successful.
Explanation
The CloseDataSource method closes the datasource that was opened by the OpenDataSource method.
Prior to executing the CloseDataSource and OpenDataSource methods, you must execute the Initialize method.
The CloseDataSource and OpenDataSource methods correspond to the Scan Control's ScanCloseDS and ScanOpenDS methods in earlier versions of the ImageKit.
Differences between the ImageKit7/8/9
The name of this method has been changed from CloseDS