|
Hello, I’m trying to rotate a PdfPCell containing a
short text, like this: PdfPTable table = new PdfPTable(2); PdfPCell cellOne = new PdfPCell(new Phrase("Text 1")); cellOne.setRotation(90); table.addCell(cellOne); table.addCell("Text 2"); //Second cell document.add(table); This shows a pdf-document containing a table with two cells.
So far, so good. But the rotated cell (cellOne) is empty, while the second one
shows the given text. If I rotate cellOne to 0 (cellOne.setRotation(0)), the text
comes back. I don’t understand this, so any kind of help is
welcome. Thank you! |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
