Patrick Mugabe wrote:
> I am using the folllowing code to add a header and footer. It works fine 
> except that I am failing to align the text on the footer even after 
> using setAlignment(Element.ALIGN_MIDDLE);

There's a difference between ALIGN_MIDDLE and ALIGN_CENTER.
Are you sure you aren't confusing both? One is for vertical
alignment (middle); the other for horizontal alignment (center).
Vertical alignment doesn't make sense for paragraphs.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to