VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Shared Namespace / WebRenderingSettingsJS type / set_Resolution Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Resolution Method
    In This Topic
    Sets the resolution, in pixels per inch, for image rendering.
    Syntax
    var instance = new Vintasoft.Shared.WebRenderingSettingsJS(resolution, interpolationMode, smoothingMode);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: object
    
    returnValue = instance.set_Resolution(value);
    
    
    function set_Resolution(
    value
    An object ({ x: x, y: y }) that represents image resolution, in pixels per inch, for image rendering.
    : object
    ) : any;

    Parameters

    value
    An object ({ x: x, y: y }) that represents image resolution, in pixels per inch, for image rendering.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if resolution is equal or less than 0.
    Browser Compatibility
    9
    See Also