RasterCachedMultipageImage.Crop
Contents
[
Hide
]Crop(Rectangle)
Cropping the image.
public override void Crop(Rectangle rectangle)
| Parameter | Type | Description |
|---|---|---|
| rectangle | Rectangle | The rectangle. |
See Also
- struct Rectangle
- class RasterCachedMultipageImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Crop(int, int, int, int)
Crop image with shifts.
public override void Crop(int leftShift, int rightShift, int topShift, int bottomShift)
| Parameter | Type | Description |
|---|---|---|
| leftShift | Int32 | The left shift. |
| rightShift | Int32 | The right shift. |
| topShift | Int32 | The top shift. |
| bottomShift | Int32 | The bottom shift. |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Rectangle incorrect. - rectangle or Rectangle must be contained in the image bounds. - rectangle |
| ImageException | Can’t crop image. Frame index: " + frameIndex or Can’t crop image. |
See Also
- class RasterCachedMultipageImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging