LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Dispose(Boolean) Method
See Also 
Leadtools.Annotations Namespace > AnnObject Class > Dispose Method : Dispose(Boolean) Method



disposing
true if this method was called as a result of calling AnnObject.Dispose; false if this method was called as a result of object finalization.

The Dispose(Boolean) Method is available in LEADTOOLS Document and Medical Imaging toolkits.

disposing
true if this method was called as a result of calling AnnObject.Dispose; false if this method was called as a result of object finalization.
Releases all resources used by this object.

Syntax

Visual Basic (Declaration) 
Overloads Protected Overridable Sub Dispose( _
   ByVal disposing As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
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 if this method was called as a result of calling AnnObject.Dispose; false if this method was called as a result of object finalization.

Remarks

Derived annotation objects should override this method and provide any clean-up code required here.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features