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(
: number,
: 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
Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also