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

TransformsProvider.Resize Method (Single, Single)

Resizes the image.

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

Syntax

Visual Basic
Public Sub Resize ( _
	width As Single, _
	height As Single _
)
C#
public void Resize(
	float width,
	float height
)

Parameters

width

Type: System.Single

Width of resized bitmap. If it 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.
height

Type: System.Single

Height of resized bitmap. If it 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.

Remarks

You can also use Resize class to apply this transform.

See Also

Reference