Landscape mode can be achieved for most applications, thus:

        Document doc = new Document( PageSize.LETTER.rotate() );
        doc.add( blah );

This sets up the Document object with a Letter size but rotated 90�. However, if this causes problems of conflicts with your application you can also code it, thus:

        Document doc = new Document( new Rectangle( 792, 612 );

Andrew


On Jun 4, 2004, at 4:14 AM, Daniel Rabe wrote:

Hi, is it possible to create a PDF document in Landscape mode with iText?

The other question I have regards tables. I need to set table width and the
tutorial is not clear on this issue. Can anyone help?


Apart from the above questions, it's a great product ... thanks to the
developers.

thank you

Daniel



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to