VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceManagerJS type / open Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
open Method
In This Topic
Opens TWAIN/WIA/SANE/eSCL device manager.
Syntax
var instance = new Vintasoft.Twain.WebTwainDeviceManagerJS(service);

var value; // Type: any

// Parameters
var initSettings; // Type: WebTwainDeviceManagerInitSettingsJS

value = instance.open(initSettings);

Parameters

initSettings
An instance of WebTwainDeviceManagerInitSettingsJS class that defines initialization settings for TWAIN device manager.
Exceptions
ExceptionDescription
Thrown if argument is not an instance of WebTwainDeviceManagerInitSettingsJS class OR device manager is opened OR error occurs during opening the device manager.
Remarks

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

Browser Compatibility
9
See Also