---
title: "Resize Constructor (Int32, Int32, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Resize_ctor_3_a995240e.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/)

# Resize Constructor (Int32, Int32, InterpolationMode)
 
Creates and initializes [Resize](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Resize.htm.md) class instance. You can specify here new width/height, and interpolation algorithm.
 
**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 ( _width As Integer, _height As Integer, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public Resize(int width,int height,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - width
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Width of resized bitmap. You can change it later via [Width](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Resize_Width.htm.md) property.

 - height
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Height of resized bitmap. You can change it later via [Height](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Resize_Height.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 via [InterpolationMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Resize_InterpolationMode.htm.md) property.
   
## See Also

### Reference

- [Resize Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Resize.htm.md)
- [Resize Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Resize_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
