This method closes the scan datasource (scan device).

[Visual Basic]   [ Boolean = ]imagekitcontrolname.Scan.CloseDS
[Visual C++]     [ BOOL = ]imagekitcontrolname.GetScan().CloseDS()
[VB.NET]   [ Boolean = ]imagekitcontrolname.Scan.CloseDS()
[C#.NET]   [ bool = ]imagekitcontrolname.Scan.CloseDS()

Parameters

None

Return Value

Returns True (nonzero) when successful, returns False (0) when not successful.

Explanation

The CloseDS method closes the datasource that was opened by the OpenDS method.

Prior to executing the CloseDS and OpenDS methods, you must execute the Initialize method.

The CloseDS and OpenDS methods correspond to the Scan Control's ScanCloseDS and ScanOpenDS methods in earlier versions of the ImageKit.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation