Example





In This Topic

Dispose() Method

In This Topic
Disposes already used AnnotationEditor object completely. All related resources used by this object are released.
Syntax
'Declaration

 

Public Shadows Sub Dispose() 
public new void Dispose()
public procedure Dispose(); 
public hide function Dispose();
public: new void Dispose(); 
public:

new void Dispose(); 
Remarks
Please find our Annotations Sample here to fully see, how to create, integrate and use the AnnotationEditor object in your application.
Example
How to create and dispose of the AnnotationEditor object.
'Define AnnotationEditor object in your application.

Friend WithEvents AnnotationEditor1 As AnnotationEditor

            

'Create an instance.

AnnotationEditor1 = New AnnotationEditor()

            

'Use the AnnotationEditor object in your app.

            

'Dispose of the used object.

AnnotationEditor1.Dispose()
//Define AnnotationEditor object in your application.

internal AnnotationEditor AnnotationEditor1;

            

//Create an instance.

AnnotationEditor1 = new AnnotationEditor();

            

//Use the AnnotationEditor object in your app.

            

//Dispose of the used object.

AnnotationEditor1.Dispose();
See Also