> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Bruno Lowagie
> Sent: Friday, May 05, 2006 1:23 PM
> To: [email protected]
> Subject: Re: [iText-questions] can we rotate the pages of 
> existing PDF file
> 
> abc xyz wrote:
> 
> >
> > hi All,
> > i want to rotate the pages of existing pdf file mean landscape to 
> > portrait and portrait to landscape. can any one help me
> > can we do it by using PdfStamper class or PdfCopy class
> 
> It depends on what you want.
> You can rotate the page by writing PdfImportedPage objects to a new 
> document.
> That way you can change landscape in to portrait with the content 
> rotated 90 degrees.

Or you add/remove the /Rotate 90 in the page dictionary.

Paulo

> If you want to change the page orientation and rearrange the 
> layout of 
> the content
> (for instance, lines with 120 characters change into lines with 80 
> characters), then
> you are asking something that is not possible with 'traditional' PDF.
> br,
> Bruno
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> dat=121642
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to