VintaSoft Twain .NET SDK v10.2
WebTwainDeviceJS Constructor
Vintasoft.Twain Namespace > WebTwainDeviceJS type : WebTwainDeviceJS Constructor
Device name.
Device product family.
Device manufacturer.
Device driver version.
Device TWAIN version.
Instance of Twain.WebTwainDeviceManagerJS class.
Class that allows to manipulate TWAIN device.
Syntax
// Parameters
var deviceName; // Type:  string
var productFamily; // Type:  string
var manufacturer; // Type:  string
var driverVersion; // Type:  string
var twainVersion; // Type:  string
var deviceManager; // Type:  object

var instance = new Vintasoft.Twain.WebTwainDeviceJS(deviceName,
                                                    productFamily,
                                                    manufacturer,
                                                    driverVersion,
                                                    twainVersion,
                                                    deviceManager);
function WebTwainDeviceJS( 
   deviceName : string,
   productFamily : string,
   manufacturer : string,
   driverVersion : string,
   twainVersion : string,
   deviceManager : object
) : WebTwainDeviceJS;

Parameters

deviceName
Device name.
productFamily
Device product family.
manufacturer
Device manufacturer.
driverVersion
Device driver version.
twainVersion
Device TWAIN version.
deviceManager
Instance of Twain.WebTwainDeviceManagerJS class.
Browser Compatibility
9
5
11
5
See Also

Reference

WebTwainDeviceJS type