C#PDF打印图书馆 [英] C# PDF Printing Library

查看:180
本文介绍了C#PDF打印图书馆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有免费的库,将打印到PDF,而不必实际在系统上安装一个PDF打印机。我想要的东西,可以完全包含在我的应用程序的自我。我之所以这么说,我希望它打印是,我试过,并试图找到从HTML转换直接用CSS来PDF解决方案,但它似乎简化版,很有可能的。所以,我想使用System.Windows.Forms.WebBrowser控件来渲染页面渲染PDF,然后再输出。我只是不想要求用户安装一个PDFPrinter

Are there any free libraries that would "print" to a PDF without actually having to install a PDF printer on the system. I want something that can be completely self contained in my application. The reason I say I want it to "print" is that I've tried and tried to find a solution for directly converting from HTML with CSS to PDF, but it does't seem very possible. So I want to use the System.Windows.Forms.WebBrowser control to render the page first and then output that rendering to PDF. I just don't want the user to be required to install a PDFPrinter.

推荐答案

PDFsharp

这篇关于C#PDF打印图书馆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆