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)
PdfWriter.GetInstance(doc, new FileStream(filename, FileMode.Create));
doc.Open();
doc.AddCreationDate();
...

Is this wrong?
------------------------------------------------------------------------------
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