Resize Constructor (Int32, Int32, ResizeInterpolationMode, ResizeMode)

Initializes a new instance of the Resize class using the specified settings.

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

Syntax

C#
public Resize(
	int width,
	int height,
	ResizeInterpolationMode interpolationMode,
	ResizeMode resizeMode
)

Parameters

width

Type: System.Int32

The width of the resulting image. You can change this value later using the Width property.
height

Type: System.Int32

The height of the resulting image. You can change this value later using the Height property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.ResizeInterpolationMode

A InterpolationMode specifying interpolation algorithm used during the resize. You can change this value later using the InterpolationMode property.
resizeMode

Type: Aurigma.GraphicsMill.Transforms.ResizeMode

A ResizeMode which specifies how to interpret the resize dimensions. You can change this value later using the ResizeMode property.

See Also

Reference