Table of Contents

Method Rescale

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

Rescale(SizeI)

Rescales this image to the requested size.

bool Rescale(SizeI sizeNeeded)

Parameters

sizeNeeded SizeI

Returns

bool

Remarks

This function is just a convenient wrapper for Rescale(int, int, GenericImageResizeQuality) used to resize the given image to the requested size. If you need more control over resizing, e.g.to specify the quality option different from Nearest used by this function, please use the GenericImage function directly instead. Size must be valid.