Thanks! I have baught the book itext in action and created a PDFPTable.
This is what I got so far. I'm using the pdfstamper getOverContent to add columns over an existing pdf. I create a ColumnText and set setSimpleColumn( 0 , 0 , 400 , 100 , 0 , Element.ALIGN_BOTTOM ) I want all the text inside this columntext to be written from bottom to top. I couldn't get this to work so I read in a post to use PDFPTable. PDFPTable does not have an verticalAlign. When I add a PDFPCell to the table and set ALIGN_BOTTOM in the setVerticalAlignment method it still renders from top to bottom. PDFContentByte cb = stamper.getOverContent( 1 ); cb.beginText(); ColumnText c1 = new ColumnText( cb ); c1.setSimpleColumn( 0 , 0 , 400 , 100 , 0 , Element.ALIGN_BOTTOM ); // NO EFFECT on align Paragraph p1 = new Paragraph( "Test" , font ); PdfpTable table = new PdfPTable( 1 ); PdfPCell cell = new PdfPCell( p1 ); cell.setBorder( 0 ); cell.setHorizontalAlignment( Element.ALIGN_CENTER ); // Works cell.setVerticalAlignment( Element.Align_BOTTOM); // NO EFFECT table.addCell( cell ); c1.addElement( table ); cb.endText(); c1.go(); -- View this message in context: http://www.nabble.com/text-alignment-in-ColumnText-tp15353231p15354235.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/