I am getting this exception in this line of code
- Code: Select all
document.LoadFromFile(physicalpath, FileFormat.Html, XHTMLValidationType.None);
using the free version of Spire.Doc
I can't seem to find anything on it and I'm not really sure whats wrong.
I'm trying to convert an HTML file into word document.