PDF Text Replacing using itextSharp.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PDF Text Replacing using itextSharp.

Tariqdps
HI guys ,

our client have PDF with some information .  system need to replace some text of that PDF when client upload file .
we are trying to replace some text of PDF using Itextsharp.
I search google but could not find a right solution. here is link which i search.
http://www.vbforums.com/showthread.php?681178-RESOLVED-quot-replace-quot-Words-in-PDF-file-using-iTextSharp
this is not good solution .  

And

https://johnnycode.com/2010/03/05/using-a-template-to-programmatically-create-pdfs-with-c-and-itextsharp/

this  solution not help me because PdfName.AcroForm and stamper.AcroFields is always null or count 0 as pdf 3 page with full text.


do you have any idea to solve this problem ? please suggest .

Thanks