LEADTOOLS Annotations (Leadtools.Annotations assembly)

Dispose() Method

Show in webframe
Example 





Releases the resources used by the AnnObject.
Syntax
public void Dispose()
'Declaration
 
Public Overloads Sub Dispose() 
'Usage
 
Dim instance As AnnObject
 
instance.Dispose()

            

            
public:
void Dispose(); 
Example
Copy Code  
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.Codecs
Imports Leadtools.WinForms
Imports Leadtools.Drawing

Public Sub AnnObject_Dispose(ByVal container As AnnContainer)
   Do While container.Objects.Count > 0
      Dim obj As AnnObject = container.Objects(0)
      container.Objects.RemoveAt(0)
      obj.Dispose()
   Loop
End Sub
using Leadtools;
using Leadtools.Annotations;
using Leadtools.Codecs;
using Leadtools.WinForms;
using Leadtools.Drawing;

public void AnnObject_Dispose(AnnContainer container)
{
   while(container.Objects.Count > 0)
   {
      AnnObject obj = container.Objects[0];
      container.Objects.RemoveAt(0);
      obj.Dispose();
   }
}
Requirements

Target Platforms

See Also

Reference

AnnObject Class
AnnObject Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.