Crop

RasterCachedMultipageImage.Crop method (1 of 2)

Cropping the image.

public override void Crop(Rectangle rectangle)
Parameter Type Description
rectangle Rectangle The 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)
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