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: (.NET 4.5.2, x86)

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