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

Resize Constructor (Int32, Int32, InterpolationMode)

Creates and initializes Resize class instance. You can specify here new width/height, and interpolation algorithm.

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

Syntax

Visual Basic
Public Sub New ( _
	width As Integer, _
	height As Integer, _
	interpolationMode As InterpolationMode _
)
C#
public Resize(
	int width,
	int height,
	InterpolationMode interpolationMode
)

Parameters

width

Type: System.Int32

Width of resized bitmap. You can change it later via Width property.
height

Type: System.Int32

Height of resized bitmap. You can change it later via Height property.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

InterpolationMode value specifying interpolation algorithm used during resizing. You can change it later via InterpolationMode property.

See Also

Reference