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.
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