.NET server based PDF generation

后端 未结 11 1951
孤街浪徒
孤街浪徒 2020-12-30 10:53

I\'d like to dynamically generate content and then render to a PDF file. This processing would take place on a remote hosting server so using virtual printers etc is out. Do

11条回答
  •  旧时难觅i
    2020-12-30 11:17

    We used a set of third party DLLs from PDFSharp who in turn use DLLs from MigraDoc. I'm not privy to all the reasons that we went that direction (the decision was made by a senior developer), but I can tell you that:

    • It seems to be in active development.
    • It had most of the features we needed.
    • The source code is available. Although it used some patterns and conventions that I hadn't seen before, once I got on to them, it was fairly easy to make the changes. I added support for using the System.Drawing.Image directly rather than as saving files.
    • It is not documented well either internally or externally.

提交回复
热议问题