我有一个word文档作为必须使用c#生成和打印的文档示例,却不知道该怎么做
You can use DocX: https://github.com/xceedsoftware/DocX
using ( Document = DocX.Create(filename, DocumentTypes.Document) )
{
...
Document.Save();
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.