Use a System.Drawing.Printing.PrintDocument to generate a PDF in memory

后端 未结 6 1060
忘了有多久
忘了有多久 2020-12-30 14:47

Does anyone know if the following is possible and if so what the best way of doing it is for free?

I am generating a PrintDocument in a project I am currently workin

6条回答
  •  -上瘾入骨i
    2020-12-30 14:58

    You're in a world of hurt if you think you're going to run the "same code" that deals with printers in both a forms app and an ASP.NET app.

    You might be in luck, however, as it appears that PDFsharp + MigraDoc might be able to do this for you.

提交回复
热议问题