Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Append PDF using Itext

 
palanisamy subramani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to the Itext. can any one help me how to append text to the existing PDF files.


Thanks in Advance
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PDFs aren't really meant for changing after they've been created. Adding text, in particular, isn't something that's easy, or possible at all, given libraries such as iText.

Using iText (or other libraries such as PDFBox) you can append pages to a PDF, though. So if the new content is all on its own page in a second PDF, you can append that to the first file.
 
palanisamy subramani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf. I thought appending is possible in a same page by using ITEXT. Thanks for clarifying me.
 
I'm so happy! And I wish to make this tiny ad happy too:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!