This is the code to recreate the issue, please note the message only appears while in debug mode:
- Code: Select all
public void PPTXOpen()
{
string strSourceFile = @"Example.pptx";
Presentation doc = new Presentation(strSourceFile, Spire.Presentation.FileFormat.Auto);
// After the above call we receive a string of:
// Exception thrown: 'System.ObjectDisposedException' in mscorlib.dll
// messages. These only get displayed in when running in Debug, to help
// experience the issue set a breakpoint on the above line
Console.WriteLine("Open complete");
doc.Dispose();
}
I will send the file to help create this issue to the support email address.
Please let me know if you have any questions or if you need anything further from me.