VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Shared Namespace / WebCompositeRenderingSettingsJS 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.WebCompositeRenderingSettingsJS(settings);
    
    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