开发者

How do I use css and stylesheets with ITextSharp 4

开发者 https://www.devze.com 2023-03-25 21:38 出处:网络
I\'m exporting an html v开发者_开发问答iew to pdf, how can i get it to recognise css styles? mostly colors, table borders, font sizes, nothing too hectic.See this post. Support for HTML and CSS is get

I'm exporting an html v开发者_开发问答iew to pdf, how can i get it to recognise css styles? mostly colors, table borders, font sizes, nothing too hectic.


See this post. Support for HTML and CSS is getting better with each version but its still no where near full HTML & CSS support. For instance, I don't believe that HTML classes and ID are supported yet, you can only style tags in general. This is on the iText roadmap but I don't know when they expect to be completed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号