wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Save edited pdf Page in A4 size using itext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Save edited pdf Page in A4 size using itext" Watch "Save edited pdf Page in A4 size using itext" New topic
Author

Save edited pdf Page in A4 size using itext

Sarika Sukumaran
Greenhorn

Joined: Oct 20, 2011
Posts: 10
I need to edit a specific page from a PDF file and I have to save that page only as a separate PDF file. I have successfully completed the job. The input file is of letter size pages. But now what I need is to save the edited page in A4 size. Can anyone help me. I am waiting for the responses.

Following is my code.

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
There aren't all that many things iText (or any open source PDF API) can do with a PDF once it's been generated. Editing in particular is tricky or downright impossible, so I'm fairly certain that a change in page size isn't possible.
Sarika Sukumaran
Greenhorn

Joined: Oct 20, 2011
Posts: 10
Thanks for your reply..
Sarika Sukumaran
Greenhorn

Joined: Oct 20, 2011
Posts: 10

Is there anyway to add the pdf page not as an instance of Image?
Sarika Sukumaran
Greenhorn

Joined: Oct 20, 2011
Posts: 10
Saving in A4 size

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Save edited pdf Page in A4 size using itext
 
Similar Threads
Merging two pdfs
iText - remove previously inserted over content text - Help Needed
how to change existing pdf font encoding (multi language) dynamically
iText: password protect a signed pdf file
How to convert simple Java Code into amazon's AMI