Releases all the resources used by this RasterImage.
protected virtual void Dispose(
Protected Overloads Overridable Sub Dispose( _
ByVal disposing As Boolean _
virtual void Dispose(
True to release both managed and unmanaged resources; False to release only unmanaged resources.
The RasterImage class implements the IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the RasterImage class. For more information, refer to the IDisposable interface documentation in MSDN, the IsDisposed property and the RasterImage.Disposed event.
For an example, refer to RasterImage.
Medical Web Viewer .NET