---
title: "Crop..::.Rectangle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Crop_Rectangle.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Crop.Rectangle Property 
 
Gets/sets cropping rectangle.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property Rectangle As RectangleF
```
 
```csharp
public RectangleF Rectangle { get; set; }
```
 
### Property Value
Cropping rectangle. Can intersect the bitmap only partially. In this case pixels which are outside of the bitmap are filled with [BackgroundColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Crop_BackgroundColor.htm.md). This feature is also known as "outer crop".
 
## Remarks
 By default this rectangle has zero width and height. That's why it is necessary to always initialize this property before applying crop.
   
## See Also

### Reference

- [Crop Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Crop.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
