Hi, i have a little problem about setting alignment for Table()
Table table = new Table(1);
Cell cell;
cell = new Cell(new Paragraph(" Sample Text "));
cell.setVerticalAlignment(Cell.ALIGN_MIDDLE); << -- it doesn't work...?
or
cell.setVerticalAlignment(Element.ALIGN_MIDDLE); << -- doesn't work...?
or
cell.setVerticalAlignment(Table.ALIGN_MIDDLE); << -- doesn't work...?
the text stays in the bottom of the cell, not in the middle....
please tell me how, or am i using the wrong code ?
thx
--
Rgds,
Ossa-Nih
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/