RasterCachedMultipageImage.Crop

Crop(Rectangle)

Cropping the image.

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

See Also


Crop(int, int, int, int)

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