Click or drag to resize

AtalaImageDispose Method

Call this method to destroy this AtalaImage data and free memory.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Dispose()

Implements

IDisposableDispose
Remarks

The garbage collector will eventually free this memory if dispose is not called. By calling Dispose the memory is freed immediately, important for images occupying many kilobytes of memory.

After the image is disposed, any function calls that access the AtalaImage.ImageData will result in an ObjectIsDisposedException.

See Also