Document doc = new Document(MyDir + "in.docx");
doc.Save(MyDir + "Out.html", SaveFormat.Html);
Document doc = new Document(MyDir + "in.html");
doc.Save(MyDir + "Out.docx", SaveFormat.Docx);
Actually, I am running in to a situation where the true part of the if statement is not being merged. The content of the IF statement is being displayed verbatim.
- Your input Word document.
- Please attach the output Word file that shows the undesired behavior.
- Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.