Rotate paragraphs or cells some arbitrary number of degrees — Itext
I have a web site where the users upload photos and create photobooks. Also, they can add text at absolute positions, rotations, and alignments. The text can have new lines. I've been using the Itext Library to automatize the creation of the Photobooks High Quality Pdfs that are printed latter on. Adding the user uploaded images to the PDFs was really simple, the problem comes when I try to add the text. In theory what I would need to do, is to define a paragraph of some defined width and height, set the users text, font, font style, alignment (center, left, right, justify), and finally set