Your error was not reading the tutorial. The page size setting must be done
before the newPage(). It takes effect in the next page.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Victor Apocalypse Rodrigues" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED] Sourceforge. Net"
<[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 18:55
Subject: [iText-questions] Page orientation


>
>     Hi everybody, I'm new here and I'm having a problem with page
> orientation.
>
>     When I'm initializing my document, I set the page size by calling
> setPage(PageSize.A4); then I execute open(); and start creating my pdf
> document.
>
>     Later, I want to make a page landscape, so I tried
> setPage(PageSize.A4.rotate());, but it didn't work.
>
>     What am I doing wrong?
>
>     Thank you.
>
> --
> Victor Apocalypse Rodrigues
> System Analyst
> Try Automatos @ www.automatos.com
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
> /01
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to