c# - Is there a way to replace a text in a PDF file with itextsharp? -
I am using it for generating PDFs, but I have to change some text dynamically. I know that if there is an acromefield then it is possible to change it, but my pdf has any of it. There are some pure texts in it and I need to change some of them.
Does anyone have to do this?
Actually, I have a blog post that how to do it! But like Ian Gilham, it depends on whether you have control over your original PDF. The basic idea is that you set up a form on the page and replace the form field with the desired text. (You can style the form, so it does not look like a form)
If you do not have control over PDF, then tell me how to do it!
Here is a link to the full post:
Comments
Post a Comment