Crop

RasterCachedMultipageImage.Crop method (1 of 2)

Cropping the image.

public override void Crop(Rectangle rectangle)
ParameterTypeDescription
rectangleRectangleThe rectangle.

See Also


RasterCachedMultipageImage.Crop method (2 of 2)

Crop image with shifts.

public override void Crop(int leftShift, int rightShift, int topShift, int bottomShift)
ParameterTypeDescription
leftShiftInt32The left shift.
rightShiftInt32The right shift.
topShiftInt32The top shift.
bottomShiftInt32The bottom shift.

Exceptions

exceptioncondition
ArgumentExceptionRectangle incorrect. - rectangle or Rectangle must be contained in the image bounds. - rectangle
ImageExceptionCan’t crop image. Frame index: " + frameIndex or Can’t crop image.

See Also