---
title: "ResizeMode Enumeration"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_ResizeMode.htm
product: "Graphics Mill"
---

# ResizeMode Enumeration
 
Contains values for the resize modes (how the resize parameters should be intepreted).
 
**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 enum ResizeMode
```
 
## Members

 |  Member name |  Description |
| --- | --- |
 |  Fit |  Width and height specify a rectangle the image is inscribed into (image proportions are preserved). |
 |  ImageFill |  In this mode image is proportionally resized and cropped. Firstly, the image is resized so that the given rectangle is inscribed into the resized image. After that the rectangle is centered on the resized image and the image is cropped by the rectangle bounds. |
 |  Resize |  Width and height specify dimensions of the image after resize (proportions are not preserved). |
 |  Shrink |  The same as **Fit**, but the resize occurs only if resize dimensions are smaller than image dimensions. |
   
## See Also

### Reference

- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
