---
title: "Combiner Constructor (Bitmap, RectangleF, RectangleF, CombineMode, Single, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Combiner_ctor_6_3ba7761f.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 Constructor (Bitmap, RectangleF, RectangleF, CombineMode, Single, InterpolationMode)
 
Creates new instance of the [Combiner](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Combiner.htm.md) class. You can set all transform parameters.
 
**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 Sub New ( _sourceBitmap As Bitmap, _destinationRectangle As RectangleF, _sourceRectangle As RectangleF, _combineMode As CombineMode, _opacity As Single, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public Combiner(Bitmap sourceBitmap,RectangleF destinationRectangle,RectangleF sourceRectangle,CombineMode combineMode,float opacity,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - sourceBitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
 [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance used as source bitmap. You can change it later using [SourceBitmap](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_SourceBitmap.htm.md) property.

 - destinationRectangle
     - Type: [System.Drawing.RectangleF](http://msdn2.microsoft.com/en-us/kwafa1d7)
Destination rectangle. You can change it later using [DestinationRectangle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_DestinationRectangle.htm.md) property.

 - sourceRectangle
     - Type: [System.Drawing.RectangleF](http://msdn2.microsoft.com/en-us/kwafa1d7)
Source rectangle. You can change it later using [SourceRectangle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_SourceRectangle.htm.md) property.

 - combineMode
     - Type: [Aurigma.GraphicsMill.Transforms.CombineMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_CombineMode.htm.md)
 [CombineMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_CombineMode.htm.md) value specifying combine mode. You can change it later using [CombineMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_CombineMode.htm.md) property.

 - opacity
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
A number in range [0, 1] specifying total opacity of the image. If 0, image is completely transparent, if 1, image is completely opaque. You can change it later using [CombineMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_CombineMode.htm.md) property.

 - interpolationMode
     - Type: [Aurigma.GraphicsMill.Transforms.InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md)
 [InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md) value specifying interpolation algorithm used during resizing. You can change it later using [CombineMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Combiner_CombineMode.htm.md) property.
   
## See Also

### Reference

- [Combiner Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Combiner.htm.md)
- [Combiner Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Combiner_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
