VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceManagerInitSettingsJS type / set_IsTwain2Compatible Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_IsTwain2Compatible Method
    In This Topic
    Sets a value indicating whether TWAIN 2.x Data Source Manager should be used.
    Syntax
    var instance = new Vintasoft.Twain.WebTwainDeviceManagerInitSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: boolean
    
    returnValue = instance.set_IsTwain2Compatible(value);
    
    
    function set_IsTwain2Compatible(
    value
    True - TWAIN 2.x Data Source Manager (TWAINDSM.DLL) should be used; False - TWAIN 1.x Data Source Manager (TWAIN_32.DLL) should be used.
    : boolean
    ) : any;

    Parameters

    value
    True - TWAIN 2.x Data Source Manager (TWAINDSM.DLL) should be used; False - TWAIN 1.x Data Source Manager (TWAIN_32.DLL) should be used.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    See Also