Got it thanks Bruno.

Just one change and it happened. Thanks so much.
I just changed middle to center.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bruno Lowagie (iText)
Sent: Monday, December 04, 2006 12:56 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Alignment of footer Text

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=DEVDE
V
_______________________________________________
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/

-------------------------------------------------------------------------
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