In This Topic
Opens TWAIN/SANE device (device 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
// Parameters
var showUI; // Type: boolean
value = instance.open(showUI);
function open(
: boolean
) : any;
Parameters
- showUI
- True - device UI must be shown; false - device UI must NOT be shown.
Exceptions
Exception | Description |
| 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
See Also