Hildebrando Furlan Neto wrote:
I am setting my Document pageSize to doc.setPageSize(new Rectangle(270,40));
With this line it will be LANDSCAPE(because the width is bigger than the heigth), but I want to print that in PORTRAIT (It's for a special paper).
I have found a lot of questions/answers on the net but any has solved my problem.
Can anyone give me a hand.
I don't understand the question: why not use doc.setPageSize(new Rectangle(40,270));
btw you can draw text in any direction you want. See http://www.lowagie.com/iText/tutorial/ch10.html#templates and the text on the Transformation Matrix. br, Bruno
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
