Releases all the resources used by this RasterRegion.
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 RasterRegion class implements the IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the RasterRegion class. For more information, refer to the IDisposable interface documentation in MSDN.
For an example, refer to RasterRegion.
Medical Web Viewer .NET