将html页面转换为docx文件 [英] Convert html page into docx file
本文介绍了将html页面转换为docx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能在asp.net中通过C#将html文件转换成docx文件
Hi , how i can convert html file into docx file by C# in asp.net
推荐答案
看看这些开始吧:
HTML作为DOCX文件的来源 [ ^ ]
Microsoft Word Documents from ASP.NET [ ^ ]
Have a look at these to get started:
HTML as a Source for a DOCX File[^]
Microsoft Word Documents from ASP.NET[^]
您也可以尝试这个简单的解决方案在C#中将HTML转换为DOCX :
You can also try this simple solution to convert HTML to DOCX in C#:
// Convert HTML to Word (DOCX) document.
DocumentModel.Load("Document.html").Save("Document.docx");
这篇关于将html页面转换为docx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文