My question should be a simple one. I have been successful in using the setAlignment method to center a paragraph in a document but I have not been able to find out how to do alignment with a phrase. All I want to do is have a header that contains a date on the left side (which I have done with no problem) and put a page number on the far right side of every page. So far, to accomplish this, I insert a bunch of spaces to get the page number where I want it but if I change font size, I will have to refigure the number of spaces. When I attempt to RIGHT-ALIGN a paragraph, I get the page number on a new line.
I hope this is a simple question but I have not found anything in your documentation that will allow me to do this.
Thank you, Richard
_________________________________________________________________
Scope out the new MSN Plus Internet Software � optimizes dial-up to the max! http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
