简体   繁体   中英

Convert webpage to PDF document using ASP.NET C#

是否可以使用C#将iTextSharp等开放库将网页以及图像和保留样式转换为PDF文档。

Yes but.

iText[Sharp]'s style support is spotty at best. Your absolute best html->pdf bet is wkhtmltopdf . I haven't tried it personally, but it seems to have all its ducks in a row.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM