Calculates parameters for resize which preserve specified aspect ratio.
Name | Description | |
---|---|---|
CalculateProportionalDimensions(Bitmap, Int32, Int32, ResizeMode) |
Calculates parameters for resize which preserve aspect ratio of the specified bitmap. |
|
CalculateProportionalDimensions(Int32, Int32, Int32, Int32, ResizeMode) |
Calculates parameters for resize which preserve the aspect ratio of specified dimensions. |
Use this method if you need to get the exact dimensions of the bitmap after proportional resize.