var instance = new Vintasoft.Twain.WebTwainDeviceManagerJS(service); var value; // Type: object // Parameters var deviceName; // Type: string value = instance.findDeviceByName(deviceName);
function findDeviceByName(
deviceNameThe name of TWAIN/SANE device.: string
) : object;
Parameters
- deviceName
- The name of TWAIN/SANE device.
Return Value
Instance of WebTwainDeviceJS class if device is found; otherwise, null.