Resizes the image.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Resize ( _ size As Size, _ interpolationMode As InterpolationMode _ )
public void Resize( Size size, InterpolationMode interpolationMode )
Type: System.Drawing.Size
Dimensions of resized bitmap. If some of dimensions equals to 0, it is calculated automatically to preserve the aspect ratio of the source image. Both width and height cannot be 0 at the same time.Type: Aurigma.GraphicsMill.Transforms.InterpolationMode
InterpolationMode value specifying interpolation algorithm used during resizing.