且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

导出我的SharePoint aspx页面PDF文件

更新时间:2023-02-12 20:48:12

您可以开发一个ASPX页面(实际上是preferably一个ASHX处理程序),通过接受一个URL转换,你再传给做的工作适合你到第三方HTML到PDF库。然后生成的PDF文件可被返回到用户浏览器。

You can develop an ASPX page (actually preferably an ASHX handler) that does the work for you by accepting an URL to convert, which you then pass into a third party HTML to PDF library. The generated PDF file can then be returned to the user's browser.

另外,看看这个博客帖子是我写的,被偏置约了我这么大的脂肪免责声明的),告诉您如何购买产品关闭该为您完成所有的工作架。

Alternatively, have a look at this blog post (that I wrote, so big fat disclaimer about me being biased) that shows how you can buy a product off the shelf that does all the work for you.

您可以阅读更多关于它这里

BTW,相关到SharePoint问题,你可能要考虑使用 sharepoint.stackexchange.com

BTW, for questions related to SharePoint you may want to consider using sharepoint.stackexchange.com.