---
title: "Blender Constructor (BlendMode, Pipeline, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Transforms_Blender_ctor_3_d673d38d.htm
product: "Graphics Mill"
---

# Blender Constructor (BlendMode, Pipeline, Boolean)
 
Initializes a new instance of the [Blender](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Blender.htm.md) class using the specified settings.
 
**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 Blender(BlendMode mode,Pipeline topImage,bool autoDisposeTopImage
)
```
 
### Parameters
 
 - mode
     - Type: [Aurigma.GraphicsMill.Transforms.BlendMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_BlendMode.htm.md)
A [CombineMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_CombineMode.htm.md) specifying how source and overlaying pixels should be combined. You can change this value later through the [Amount](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Contrast_Amount.htm.md) property.

 - topImage
     - Type: [Aurigma.GraphicsMill.Pipeline](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Pipeline.htm.md)
An overlay image. You can change this value later through the [TopImage](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Blender_TopImage.htm.md) property.

 - autoDisposeTopImage
     - Type: System.Boolean
 `true` if the overlay image (specified with the [TopImage](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Blender_TopImage.htm.md) property) will be disposed along with this [Blender](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Blender.htm.md); otherwise, `false`. You can change this value later through the [AutoDisposeTopImage](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Blender_AutoDisposeTopImage.htm.md) property.
   
## See Also

### Reference

- [Blender Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Blender.htm.md)
- [Blender Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_Blender_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
