VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.ImageProcessing Namespace / WebResizeCanvasCommandJS type / set_CanvasSize Method
Width.
Height
In This Topic
    set_CanvasSize Method
    In This Topic
    Sets destination size.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebResizeCanvasCommandJS(successFunc, errorFunc);
    var value; // Type: any
    
    // Parameters
    var width; // Type:  number
    var height; // Type:  number
    
    value = instance.set_CanvasSize(width, height);
    function set_CanvasSize( 
       width : number,
       height : number
    ) : any;

    Parameters

    width
    Width.
    height
    Height
    Browser Compatibility
    9
    5
    11
    5
    See Also