asp.net中使用Aspose.Words导出word,想要在导出的时候提供下载方式,网上介绍的大多是这样实现的:
Document doc = new Document(templatePath);
doc.Save(fileName, SaveFormat.Doc, SaveType.OpenInWord, Response);
但是我这边有个问题:就是

我用的是Aspose.Words for Net,添加Aspose.Words for Net通过vs的Nuget包添加的。

如上图:
Aspose.Words
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/658/viewspace-3157540/ ,如需转载,请注明出处,否则将追究法律责任。