Image.crop(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Crops the image.
public:
virtual int crop(int _x, int _y, int _w, int _h);
public virtual int crop (int _x, int _y, int _w, int _h);
abstract member crop : int * int * int * int -> int
override this.crop : int * int * int * int -> int
Public Overridable Function crop (_x As Integer, _y As Integer, _w As Integer, _h As Integer) As Integer
Parameters
- _x
- Int32
The height of the region that you want to crop from the point (x, y).
- _y
- Int32
The height of the region that you want to crop from the point (x, y).
- _w
- Int32
The height of the region that you want to crop from the point (x, y).
- _h
- Int32
The height of the region that you want to crop from the point (x, y).
Returns
0 indicates success; otherwise, failure.