RasterCachedMultipageImageCrop Method (Int32, Int32, Int32, Int32)
Crop image with shifts.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public override void Crop(
	int leftShift,
	int rightShift,
	int topShift,
	int bottomShift
)

Parameters

leftShift
Type: SystemInt32
The left shift.
rightShift
Type: SystemInt32
The right shift.
topShift
Type: SystemInt32
The top shift.
bottomShift
Type: SystemInt32
The bottom shift.
Exceptions
ExceptionCondition
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