Table of Contents

Method Rescale

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Rescale(int, int, GenericImageResizeQuality)

Changes the size of the image in-place by scaling it: after a call to this function,the image will have the given width and height.

void Rescale(int width, int height, GenericImageResizeQuality quality = GenericImageResizeQuality.Nearest)

Parameters

width int

New image width.

height int

New image height.

quality GenericImageResizeQuality

Scaling quality.