This method opens the scan datasource (scan device).

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

Parameters

None

Return Value

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

Explanation

The OpenDS method opens the datasource set in the DsName property. If the DsName property is blank, please execute the Select method prior to executing the OpenDS method. (When the DsName property is blank, set with an empty string, Null(Visual C++), vbNullString(Visual Basic), Nothing(VB.NET), or null(C#.NET), the datasource is selected by the Select method).

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


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

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

 

The ImageKit9 ActiveX is a product created by Newtone Corporation