Re: [iText-questions] Horizontal Align and colspan

2012-09-18 Thread 1T3XT BVBA
On 18/09/2012 14:36, Mattallica wrote: > In another case, on a cell > without colspan, it works well. That's very hard to believe since you're mixing "text mode" and "composite mode" in your code snippet. Please read the documentation. -

[iText-questions] Horizontal Align and colspan

2012-09-18 Thread Mattallica
The horizontal alignement doesn't seem to work on a PdfPCell with colspan. Here is my code : PdfPCell noticeCell = new PdfPCell(); noticeCell.setHorizontalAlignment(Element.ALIGN_CENTER); noticeCell.setVerticalAlignment(Element.ALIGN_MIDDLE); noticeCell.addElement(new Phrase("Field this part unde