如何为PDF应用CSS或样式 [英] how to apply CSS or styles for PDF

查看:509
本文介绍了如何为PDF应用CSS或样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用itextsharp工具将aspx页面转换为pdf .... i将页面转换为PDF
...但是对齐方式不正确,并且页眉图像未加载到pdf页面中.....请任何人帮助....在何处调用PDF的样式或css

i am converting aspx page to pdf using itextsharp tool....i converted the page to PDF
...but the alignment is not proper and the header image is not loaded in the pdf page.....please anybody help....where to call the styles or css for the PDF

推荐答案

尝试一下:
在ASP中将HTML转换为PDF时保持CSS样式.NET

并提供支持:

支持
Try this:
Maintain CSS styling when converting HTML to PDF in ASP.NET

And for support:

Support


这篇关于如何为PDF应用CSS或样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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