用过这个控件,可以实现Word文件(Doc,Docx)到PDF和HTML。http://www.e-iceblue.com/Introduce/word-for-net-introduce.html //Create word document Document document = new Document(); document.LoadFromFile(@"..\wordtohtml.doc"); //Save doc file to html document.SaveToFile("toHTML.html", FileFormat.Html)
//Create word document
Document document = new Document();
document.LoadFromFile(@"..\wordtohtml.doc"); //Save doc file to html
document.SaveToFile("toHTML.html", FileFormat.Html)