VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebResizeCommandJS type / set_Size Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Size Method
    In This Topic
    Sets the image size.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebResizeCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var width; // Type: number
    var height; // Type: number
    
    returnValue = instance.set_Size(width, height);
    
    
    function set_Size(
    width
    Destination width. Valid values are from 1 to 65535. Default value is 100.
    : number,
    height
    Destination height. Valid values are from 1 to 65535. Default value is 100.
    : number
    ) : any;

    Parameters

    width
    Destination width. Valid values are from 1 to 65535. Default value is 100.
    height
    Destination height. Valid values are from 1 to 65535. Default value is 100.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also