Server side library for conversion of office files to pdf with added stamp/watermark

蓝咒 提交于 2019-12-13 17:14:00

问题


I need to take Word, Excel, PowerPoint and Visio files and convert them to PDF on the server side using C#.

At some point before or after the PDF conversion, the clients want a stamp/watermark to be added to the corner of the document (assuming, for now, on every page).

I cannot use Office products in the process, as there are licensing and stability issues involved with using "interop" server-side. Also, I would rather not depend on any other installed software on the server for similar reasons; this functionality will be used by multiple clients at the same time.

I have spent a couple of days searching, and Aspose seems to be the only library which would be suitable, however it seems prohibitively expensive. I would welcome any suggestions which would complete all requirements, or separate libraries to handle the watermark and conversion to PDF separately

UPDATE: As of now I have a prototype converting all the above file types to pdf with a watermark added using Aspose. It was relatively easy, the forum can be a great help when in a pickly


回答1:


I think AbcPDF will do this for about half the price: http://www.websupergoo.com/abcpdf-office-docs.htm

You might have to roll the watermark part yourself, but that's quite trivial to code.

There is also quite a list of libs here: .NET server based PDF generation



来源:https://stackoverflow.com/questions/12140452/server-side-library-for-conversion-of-office-files-to-pdf-with-added-stamp-water

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!