PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Saving modified string to stream
https://forum.pdfsharp.net/viewtopic.php?f=2&t=58
Page 1 of 1

Author:  hood [ Tue Jan 23, 2007 9:00 am ]
Post subject:  Saving modified string to stream

Hi

First thanks for a nice free tool :D

I am however having some problems using it correctly.

My case is more or less the same as the post
"Split PDF based on text within the PDF"
and this got me starting off ok.

i take a page from my document.
converts the Content.Stream to a string, find my tags and replace them with data....But then comes the problem.. I cant get the string-data back to the page.

I have also looked at the post:
"Modifying stream data for a page"
and tried to follow it, but could not get it to work...i also looked for the ContentWriter, but can not find that.

I hope you have a couple line of code, where you can show me how to get data(string) back into a contentStream and this back to the page.

Or maby im am wrong in the way i attack my problem. If so, i hop you have the time to get me on the right track.

Best Regards
Anders

Author:  reneo [ Mon Jan 29, 2007 11:38 am ]
Post subject: 

I have the same problem, I would also like the ContentWriter, so I can remove a nag-text from a PDF.
I've read the class ContentWriter is available in the new code from Stefan Lange.

Stefan, when is that new version released?

Greets from Holland,
Rene Olsthoorn.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/