Accusoft.FormFix5.Net - Updated
Dispose() Method




Accusoft.FormFixSdk Namespace > FormModel Class > Dispose Method : Dispose() Method
Disposes of resources that this object is holding
Syntax
'Declaration
 
Public Overloads Sub Dispose() 
'Usage
 
Dim instance As FormModel
 
instance.Dispose()
public void Dispose()
public: void Dispose(); 
public:
void Dispose(); 
Remarks
This method is an implementation of the IDisposable.Dispose method. You should call it whenever you are finished using the image to avoid wasting RAM. If you are concerned that you may not be calling it correctly, you should turn on the debug log and look for entries such as, "Object is being finalized, but should have been Disposed." or "FormFix: Object was not freed and has # references." Please note that FormFix will not place the latter message into the debug log until your application exits. If you call this method too early, you will receive a DisposeException when you try to reuse the object.
See Also

Reference

FormModel Class
FormModel Members
Overload List