We've encountered another StackOverflowException with a different Word document (attached) when the SaveToFile method is called (saving as PDF). We went through this document and stripped everything out, isolating the issue to a single table. Visually, this table doesn't appear all that different from other similar tables in the same document, so I'm not sure what the problem could be.
The code is as follows:
- Code: Select all
doc = New Document();
doc.LoadFromFile(source);
doc.ClearMacros();
doc.SaveToFile(destination, FileFormat.PDF);
I've updated Spire.Doc to the 7.7.23 hotfix, but the problem persists.
If you could check into this, I would appreciate it.
Thanks
Kevin Lukes
Programmer/Analyst
AltaLink LP
Login to view the files attached to this post.