---
title: "Resize..::.CalculateProportionalDimensions Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Resize_CalculateProportionalDimensions.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.CalculateProportionalDimensions Method 
 
Calculates parameters for resize which preserve specified aspect ratio.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [CalculateProportionalDimensions(Bitmap, Int32, Int32, ResizeMode)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Resize_CalculateProportionalDimensions_4_fe1d7a14.htm.md) |  Calculates parameters for resize which preserve aspect ratio of the specified bitmap. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [CalculateProportionalDimensions(Int32, Int32, Int32, Int32, ResizeMode)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Resize_CalculateProportionalDimensions_5_803a6bf6.htm.md) |  Calculates parameters for resize which preserve the aspect ratio of specified dimensions. |
 
## Remarks
  
Use this method if you need to get the exact dimensions of the bitmap after proportional resize.
   
## See Also

### Reference

- [Resize Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Resize.htm.md)
- [Resize Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Transforms_Resize.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
