FormFix v6.0 for .NET - Updated
Dispose() Method



Accusoft.FormFixSdk Namespace > FormImage Class > Dispose Method : Dispose() Method
Deletes the image contained within this object.
Syntax
'Declaration
 
Public Overloads Sub Dispose() 
'Usage
 
Dim instance As FormImage
 
instance.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

FormImage Class
FormImage Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.