惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
The GitHub Blog
The GitHub Blog
C
Check Point Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
F
Full Disclosure
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
K
Kaspersky official blog
博客园 - 司徒正美
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
Cisco Talos Blog
Cisco Talos Blog
Know Your Adversary
Know Your Adversary
雷峰网
雷峰网
V
V2EX - 技术
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Spread Privacy
Spread Privacy
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
O
OpenAI News
Jina AI
Jina AI
PCI Perspectives
PCI Perspectives
Cyberwarzone
Cyberwarzone
Y
Y Combinator Blog
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog RSS Feed
I
InfoQ
D
Docker
P
Palo Alto Networks Blog
Recorded Future
Recorded Future
M
MIT News - Artificial intelligence
博客园 - Franky
B
Blog
Scott Helme
Scott Helme
博客园 - 叶小钗
D
DataBreaches.Net

博客园 - zhaowt001

Sort using in VS C#、ASP.NET获取当前应用程序的绝对路径,获取程序工作路径 (转帖) 炒股经验 完美解读Linux中文件系统的目录结构 30个优秀.net在线学习资源站点 如何删除windows service(转帖) Windows CE 电源管理(转贴) C#中获取程序当前路径的集中方法 随心所欲操作Enum枚举类型 (转贴) 远程连接SQL Server 2000服务器的解决方案 - zhaowt001 对软件的新认识 EVENT IIS 配置 - zhaowt001 - 博客园 一个程序员成长的六个阶段 优秀程序员应当具备的品质 - zhaowt001 ASP.NET的网站的设计与优化 - zhaowt001 override new 关键字的区别 解决IIS服务器Web访问提示输入密码 - zhaowt001 山东人!
HTML 转 PDF
zhaowt001 · 2014-11-05 · via 博客园 - zhaowt001

使用WkHtmlToXSharp,免费的软件,内集成了chrome 的内核,可以对CSS进行渲染,很好用

是需要传入 HTML 网页地址就可以转化为PDF文件,不过网页的编码要是 utf-8

Nuget 版本位置

https://www.nuget.org/packages/WkHtmlToXSharp/

源代码位置:

https://github.com/pruiz/WkHtmlToXSharp

源代码里面有测试用例,可以看一下。

posted on 2014-11-05 22:45  zhaowt001  阅读(316)  评论(0)    收藏  举报