Crop
Leave feedback
On this page
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. |
A new cropped rectangle.
- class Rectangle
- namespace GroupDocs.Conversion.Contracts
- assembly GroupDocs.Conversion
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.