VintaSoft Imaging .NET SDK v8.5
set_CropRect Method
Vintasoft.Imaging.ImageProcessing Namespace > WebMatrixTransformCommandJS type : set_CropRect Method
X axis.
Y axis.
Width.
Height.
Sets the rectangle, in pixels, that defines how to crop image after transformation.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebMatrixTransformCommandJS(successFunc, errorFunc);
var value; // Type: any

// Parameters
var x; // Type:  number
var y; // Type:  number
var w; // Type:  number
var h; // Type:  number

value = instance.set_CropRect(x, y, w, h);
function set_CropRect( 
   x : number,
   y : number,
   w : number,
   h : number
) : any;

Parameters

x
X axis.
y
Y axis.
w
Width.
h
Height.
Browser Compatibility
9
5
11
5
See Also

Reference

WebMatrixTransformCommandJS type