---
title: "Combiner..::.SourceRectangle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_SourceRectangle.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/)

# Combiner.SourceRectangle Property 
 
Gets/sets the source 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 SourceRectangle As RectangleF
```
 
```csharp
public RectangleF SourceRectangle { get; set; }
```
 
### Property Value
Source rectangle.
 
## Remarks
  
During combining, algorithm will take pixels from rectangular area of source bitmap defined with this property. If this rectangle is empty (both width and heights are zero), entire bitmap is used. If only one dimension is zero, it is calculated automatically to preserve aspect ratio of the source bitmap.
 
When dimensions of SourceRectangle and [DestinationRectangle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_DestinationRectangle.htm.md) are not coincide each other, algorithm makes a resize (using interpolation algorithm defined with [InterpolationMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_InterpolationMode.htm.md) property).
   
## See Also

### Reference

- [Combiner Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Combiner.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
