Hallo,
I am not sure, which method I should call after I finished work with an Object com.aspose.pdf.Document
Should I call dispose? Or close? Or both?
This question also arises with other classes in your portfolio.
Please clarify,
Regards, Gerd
Hallo,
I am not sure, which method I should call after I finished work with an Object com.aspose.pdf.Document
Should I call dispose? Or close? Or both?
This question also arises with other classes in your portfolio.
Please clarify,
Regards, Gerd
Dispose() method releases all resources used by document and Close() method also implements the Dispose() functionality inside it. In other words, both methods are same and performs same functionality. If you are calling Document.Dispose(), you do not need to call the Close() method.