That's a great suggestion Kevin. I'll look into it.

So basically, I want to highlight and also redact (place a black box 
over the text),
so maybe its doable with some clever coding.

On 07/28/2011 07:04 PM, Kevin Day [via iText - General] wrote:
> Don't give up yet!
>
> It is possible to search for a word using the pdf.parser.* API, locate 
> the ascender and descender of the word, and add a colored rectangle 
> below that position on the page.  If all you want to do is add 
> hi-lighting, then you can probably do this.  If you want to actually 
> change the text, then that's a much, much harder problem.
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://itext-general.2136553.n4.nabble.com/Find-Replace-Text-in-Existing-PDF-tp3659565p3702783.html
>  
>
> To unsubscribe from Find/Replace Text in Existing PDF?, click here 
> <http://itext-general.2136553.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3659565&code=ZGFycmVuQG9udHJlbmV0LmNvbXwzNjU5NTY1fC0yMTAyMjUwMjE0>.
>  
>



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Find-Replace-Text-in-Existing-PDF-tp3659565p3702817.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to