VintaSoft Twain .NET SDK 15.5: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceJS type / open Methods / open() Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
open() Method
In This Topic
Opens TWAIN/WIA/SANE/eSCL device (device will not show UI but will show progress indicator during image scan process).
Syntax
var instance = new Vintasoft.Twain.WebTwainDeviceJS(deviceName, productFamily, manufacturer, driverVersion, twainVersion, deviceManager, is64Bit);

var value; // Type: any
value = instance.open();

Exceptions
ExceptionDescription
Thrown if arguments have wrong type OR another device is opened already OR error occurs during opening the device.
Remarks

This function sends a synchronous request to open TWAIN device. If you want to use asynchronous request instead of synchronous request, please use WebTwainDeviceJS.openAsync function.

Browser Compatibility
9
See Also