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

    Parameters

    width
    Width. Valid values are from 1 to 65535. Default value is 100.
    height
    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