Crop
Rectangle.Crop method
Creates a cropped version of the current rectangle by removing specified margins.
public Rectangle Crop(int cropLeft, int cropTop, int cropRight, int cropBottom)
| Parameter | Type | Description | 
|---|---|---|
| cropLeft | Int32 | The number of pixels to remove from the left side. | 
| cropTop | Int32 | The number of pixels to remove from the top side. | 
| cropRight | Int32 | The number of pixels to remove from the right side. | 
| cropBottom | Int32 | The number of pixels to remove from the bottom side. | 
Return Value
A new cropped rectangle.
See Also
- class Rectangle
 - namespace GroupDocs.Conversion.Contracts
 - assembly GroupDocs.Conversion