Generating PDF files from .NET by using standard .NET GDI printing classes

前端 未结 9 990
一整个雨季
一整个雨季 2020-12-30 17:42

I\'m looking for a way to generate PDF files using the standard PrintDocument and Graphics (GDI) classes in .NET. As far as I know, the only way to do that is by printing to

9条回答
  •  盖世英雄少女心
    2020-12-30 18:07

    The System.Drawing code for a PrintDocument can be reused to generate a PDF with ABCpdf.NET from webSupergoo. See the System.Drawing example for more details. The component doesn't use a printer driver - it creates PDF directly - so doesn't require a filename to be specified.

提交回复
热议问题