Returns the dimensions of an image which will be produced by the Resize transform using the given destination size and resize mode.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static Size CalculateDimensions(
Size srcSize,
Size dstSize,
ResizeMode resizeMode
)
Type: System.Drawing.Size
The source size.Type: System.Drawing.Size
The destination size.Type: Aurigma.GraphicsMill.Transforms.ResizeMode
A ResizeMode which specifies how to interpret the resize dimensions.