• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Save edited pdf Page in A4 size using itext

 
Sarika Sukumaran
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2856
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply..
 
Sarika Sukumaran
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is there anyway to add the pdf page not as an instance of Image?
 
Sarika Sukumaran
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saving in A4 size

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic