This documentation is for the old version. Go to the latest Graphics Mill docs

TransformsProvider.Resize Method (SizeF, InterpolationMode)

Resizes the image.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Resize ( _
	size As SizeF, _
	interpolationMode As InterpolationMode _
)
C#
public void Resize(
	SizeF size,
	InterpolationMode interpolationMode
)

Parameters

size

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.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during resizing.

Remarks

You can also use Resize class to apply this transform.

See Also

Reference