Method Resize
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
sizeintThe new size of the data structure. Must be a non-negative value and less than or equal to MaxValue.
Exceptions
- ArgumentOutOfRangeException
Thrown if
sizeis less than 0 or greater than MaxValue.