You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Jukka Zitting <ju...@gmail.com> on 2008/09/20 23:15:21 UTC

Re: Feedback userguide/index.html

Hi,

On Tue, Sep 16, 2008 at 8:56 PM, Jan Rehorik <ja...@nozasearch.com> wrote:
> I am trying to replace some text on an existing pdf using C# and can't get the
> following to work.  It just hangs up on the doIt method.
>
> org.pdfbox.examples.pdmodel.ReplaceString rs = new org.pdfbox.examples.pdmodel.ReplaceString();
>            rs.doIt("C:\\test.pdf", "C:\\test.pdf", "Welcome", "Hello");

I'm no expert on PDFBox so I'm only guessing here... Could the problem
be that you're reading and writing to the same file?

If not, can you get a stack trace or something similar that would
point us to what is going wrong?

> I was also wondering if there was anywhere else I could see coding examples
> in C# for PDFBox, I really like theses pdf functions and I have already
> exhausted your site for info.

I'm not aware of any C# examples, but if you or anyone else would like
to contribute some we'd be very happy to include them on the PDFBox
web site.

BR,

Jukka Zitting