Resizes the image.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Resize ( _ size As SizeF, _ resizeMode As ResizeMode, _ interpolationMode As InterpolationMode _ )
public void Resize( SizeF size, ResizeMode resizeMode, InterpolationMode interpolationMode )
Type: System.Drawing.SizeF
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.ResizeMode
A member of the ResizeMode enumeration which specifies how to interpret the resize dimensions.Type: Aurigma.GraphicsMill.Transforms.InterpolationMode
A member of the InterpolationMode enumeration which specifies an interpolation algorithm which used during the resize.You can also use Resize class to apply this transform.
If certain values of resizeMode are specified, width and height of the result bitmap may be different than specified in the size argument.