Find and replace
PDFsharp is a .NET library for creating and modifying PDF documents.
Brought to you by:
pdfsharp,
stefan_lange
I'm trying to replace a string by another one in a pdf document. I have tried to read the stream of my page, modify it and then fill a new page with it but it don't work.
Could you help me please?
Thank you in advance.
I haven't figured this out yet either but I think that you need to set the Dictionary stream to nothing and then call Dictionary.CreateStream(bytes) to create a new stream.