Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Dispose(Boolean) Method
See Also 
Leadtools Namespace > RasterImage Class > Dispose Method : Dispose(Boolean) Method



disposing
True to release both managed and unmanaged resources; False to release only unmanaged resources.
Releases all the resources used by this RasterImage.

Syntax

Visual Basic (Declaration)  
Protected Overloads Overridable Sub Dispose( _
   ByVal disposing As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim disposing As Boolean
 
instance.Dispose(disposing)
C#  
protected virtual void Dispose( 
   bool disposing
)
C++/CLI  
protected:
virtual void Dispose( 
   bool disposing
) 

Parameters

disposing
True to release both managed and unmanaged resources; False to release only unmanaged resources.

Example

For an example, refer to RasterImage.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also