Table of Contents

Method Resize

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

Resize(int)

Resizes the internal data structure to the specified max image size. This is called automatically when image with the specified size is requested.

public virtual void Resize(int size)

Parameters

size int

The new size of the data structure. Must be a non-negative value and less than or equal to MaxValue.

Exceptions

ArgumentOutOfRangeException

Thrown if size is less than 0 or greater than MaxValue.