Op 5/05/2011 17:18, Florian Peschka schreef:
I want to create a PDF using A4_LANDSCAPE as size, but when I do so, it's still normal A4 and not landscape. Is there some setting I forgot to define? I create the Document via

Document doc = new Document(PageSize.A4_LANDSCAPE)

PageSize.A4_LANDSCAPE was introduced by a third party developer.
If you read the documentation, you'll find out it makes much more sense to use:
Document doc = new Document(PageSize.A4.rotate());
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to