TransformsProvider.Resize Method (Int32, Int32, ResizeMode)

Resizes the bitmap to the specified dimensions using a given resize mode.

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

Syntax

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

Parameters

width

Type: System.Int32

The width of resized bitmap. If 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.
height

Type: System.Int32

The height of resized bitmap. If 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.
resizeMode

Type: Aurigma.GraphicsMill.Transforms.ResizeMode

A ResizeMode which specifies how to interpret the resize dimensions.

See Also

Reference