VintaSoft Twain .NET SDK 15.2: 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/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();
    
    
    function open() : any;
    
    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