开发者

iText font setting for phrase

I am using iText 5.5 to generate pdf files.i am trying to make the header font bold,but its not working. I have开发者_StackOverflow中文版 used the Phrase to set the header content and set the font for phrase. please help.


There is no iText 5.5, so I'm presuming you're using v. 5.0.5. You're off to a good start, iText is the best OSS library out there.

There is an example of how to use the header here: http://itextpdf.com/examples/iia.php?id=103 If you make the header Phrase bold, you'll have your header with bold text. I strongly suggest that you use the example's code so you can see how it works. Make it bold, then copy the code over to your project. Good luck.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜