Re: [iText-questions] Alignment of footer Text

2006-12-04 Thread Patrick Mugabe
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'

Re: [iText-questions] Alignment of footer Text

2006-12-04 Thread Bruno Lowagie (iText)
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 c

[iText-questions] Alignment of footer Text

2006-12-03 Thread Patrick Mugabe
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); Is there something I am missing? Please assist public void onEndPage(PdfWriter writer, Document documen

Re: [iText-questions] Alignment of footer Text

2006-11-30 Thread Bruno Lowagie (iText)
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); > Paragraph ph = new > Paragraph(ProposalConstants.FOOTERTEXT, ari

[iText-questions] Alignment of footer Text

2006-11-30 Thread Patrick Mugabe
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); Is there something I am missing? Please assist public void onEndPage(PdfWriter writer, Document documen