Best way to print for Windows Clients (Not Web Apps)?

后端 未结 7 1978
青春惊慌失措
青春惊慌失措 2021-02-05 18:43

What is the best way to print stuff from c#/.net?

The question is in regard to single pages as well as to reports containing lots of pages.

It would be great to

7条回答
  •  耶瑟儿~
    2021-02-05 18:50

    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.

提交回复
热议问题