Maybe you want doc.setPageSize(new Rectangle(40,270).rotate()); 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Hildebrando Furlan Neto
> Sent: Friday, February 11, 2005 3:29 AM
> To: [email protected]
> Subject: [iText-questions] Printing LANDSCAPE, but I want PORTRAIT
> 
> I am setting my Document pageSize to   
>  
> doc.setPageSize(new Rectangle(270,40));
>  
> With this line it will be LANDSCAPE(because the width is 
> bigger than the heigth), but I want to print that in PORTRAIT 
> (It's for a special paper).
>  
> I have found a lot of questions/answers on the net but any 
> has solved my problem.
>  
> Can anyone give me a hand.
>  
> []'s
>  
> Hildebrando
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to