Accusoft.NotateXpress13.Net
Free Memory used by NotateXpress

The NotateXpress component implements the Dispose pattern which is defined by the IDisposable interface. Because the NotateXpress component encapsulates unmanaged resources and is non-windowed, the Dispose method must be called for each instance of the component, to allow the release of all resources. A recommended approach is to dispose NotateXpress components when their container is disposed. To do this, call the Dispose method from the container. 

C# Example
Copy Code
//  in all .NET Windows Forms applications, you will find a generated call to Dispose, which can be modified as follows
protected override void Dispose (bool disposing)
{
if (disposing)
{
if (components != NULL)
{
components.Dispose();
}
// added for NotateXpress
// The application developer is not required to call Dispose at this location. 
// The developer can make the call to clean up these resources any time during the container's lifetime.
NotateXpress.Dispose();
}
base.Disposing(disposing);
}

 

In addition, any objects that are created dynamically at run time (e.g. ElementCollection, GroupCollection, LayerCollection), must call their Dispose method to allow resources to be released when the object is no longer needed. 

 

See Also

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback