Feb 24

We generally use the excellent iText library for generating pdf files using Java.

When we need to display text vertically it is simply a matter of rotating the cell containing the text by 90 degrees as shown in the following example.

PdfPCell cell = new PdfPCell(new Phrase("Some text I want to be vertical"));

The same technique can be used to render text at any angle.

written by objects \\ tags: , , , ,