如何在asp.net中设置pdf文件样式 [英] How to style pdf file in asp .net

查看:88
本文介绍了如何在asp.net中设置pdf文件样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨亲爱的所有





请问任何人请告诉我如何设计从asp .net导出的pdf文件?

我从asp.net导出了一个pdf文件。但是在转换为pdf之后,pdf上的标题和其他段落的所有文本都具有相同的大小。但是在asp .net页面中,所有标题都比段落上的文本大。所有标题都是左对齐..我想将标题对齐到pdf页面的中心。我也想将这些段落对齐为对齐..如果有人对此有所了解,请帮助我...







谢谢.....

Hi Dear All


Could any one please tell me how to style a pdf file exported from asp .net?
I have exported a pdf file from asp .net. But after converting to pdf all the texts of heading and other paragraph on the pdf has same size..but in asp .net page all headings are bigger than the text on paragraphs. Also All Headings are aligned left.. I would like to align the headings to centre on the pdf page.Also I would like to align the paragraphs to "justify".. please help me if anyone has idea about this...



Thank You.....

推荐答案

请参考以下链接解决您的问题...





http://stackoverflow.com/questions/5321779/itextsharp-css-not-getting-applied-c-sharp-net [ ^ ]



http://www.codingasp.net/2011/10/generate-pdf-with-aspnet-and-itextsharp.html [ ^ ]
Please refer below links to solve your issue...


http://stackoverflow.com/questions/5321779/itextsharp-css-not-getting-applied-c-sharp-net[^]

http://www.codingasp.net/2011/10/generate-pdf-with-aspnet-and-itextsharp.html[^]


这篇关于如何在asp.net中设置pdf文件样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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