Use this to create the document instance:

      Document document = new Document(PageSize.A4.rotate());

You can change 'A4' to another page format specified in PageSize.
Ciao
Mauro

----- Original Message -----
From: "Ligius Astratinei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 2:54 PM
Subject: [iText-questions] Page setup is Landscape


How do I set up Landscape - Orientation in a PDF file? The page size
rectangle is rotated (actually width and height are reversed) but there is
no actual way to set page orientation.
I'm saying this because, if I want to print a PDF from Acrobat I have to set
page size and orientation again, before printing, otherwise some regions
will be clipped.
And another question: setting up a Landscape orientation does not seem to
work (the text appears as shifted upward in the resulting PDF). Do I have to
set up specific orientation options for the PDFContentByte also? Can I just
rotate the Graphics object after I'm done drawing?

Many thanks,
Ligius




--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Un giorno a settimana gusta la Mozzarella di Bufala Campana e la Treccia di Agerola.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=982&d=22-8


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to