VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceManagerJS type / findDeviceByName Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    findDeviceByName Method
    In This Topic
    Finds TWAIN/SANE device by device name.
    Syntax
    var instance = new Vintasoft.Twain.WebTwainDeviceManagerJS(service);
    
    var value; // Type: object
    
    // Parameters
    var deviceName; // Type: string
    
    value = instance.findDeviceByName(deviceName);
    
    
    function findDeviceByName(
    deviceName
    The 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.
    Browser Compatibility
    9
    See Also