Hi

I have a pdf file from a client with name and address details on the odd pages (it's a file of postcards which are 2 sided, could be several hundred pages long).

I need to take a copy of one of the postcards (2 pages), remove the existing address and add a different one. The idea is to have a copy go to a seed address for quality control purposes.

What I've done so far is lay a white square graphic over the top of the existing text (it's in a consistent area) then, using itextsharp, stamp the new address over the top. I finally append this 'new' pdf on the end of the existing file.

So far so good, but the old address is still there, so when I do a text extract from the pdf it gets a bit confused on this record because there are effectively 2 addresses mixed up, even though only the one I want is visible.

Can anyone suggest a way I could make the white area stamp process remove the text, instead of just covering it visually?

I'm open to other suggestions as to how to tackle this!

Thanks for reading