GemBox Support Forum

Edit content of PdfDocument


I have a PDF file, that is saved in an SQL database.
I load the file using a MemoryStream, which is working great.

However, I need to replace the content of the loaded PDF file before I save it again.
I can’t see a Content.Replace, as in GemBox.Document.

Any idea of how I can replace the content of a PDF file?


We have relatively recently added an easy-to-use API for writing text in PDF, see this Writing example.
But editing (updating) is not done yet.

However, note that we are currently working on this. The API for editing text content should be available sometime in the next month.

After that, we’re planning to work on API for updating form fields (it will probably be released within the same month).