---
title: "Crop.Apply Method (Bitmap, Rectangle)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Crop_Apply_2_283e3b67.htm
product: "Graphics Mill"
---

# Crop.Apply Method (Bitmap, Rectangle)
 
Produces a cropped copy of a given bitmap. The source bitmap remains unchanged.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public static Bitmap Apply(Bitmap source,Rectangle rect
)
```
 
### Parameters
 
 - source
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
A [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) to crop.

 - rect
     - Type: System.Drawing.Rectangle
The cropping rectangle.
 
### Return Value
A new [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) containing the result of crop transformation.
   
## See Also

### Reference

- [Crop Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Crop.htm.md)
- [Apply Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_Crop_Apply.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
