Jonathan Barber wrote:

> Hello,
>
>   I was wondering something.  I have code using iTextSharp that 
> searches existing PDF documents for keywords entered by a user.  I 
> would like to know if there is a way, once I get those results back 
> noting what page they appear on.   Lets say I search for a word and it 
> appears on page 5.  Now I want to display that over a web browser 
> (ASP.NET) and have it automatically display page 5, and highlight 
> text.  I know you can use a Chunk to do coloring, but I am wondering 
> how to do it when I have received the text back.  I know I would have 
> to rewrite the PDF to the file system.  Anyway, I appreciate any 
> insight or feedback.  Thanks. 
>
That's not possible with iText, but Adobe has a special technique to 
highlight words.
Maybe this can help:
http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf
br,
Bruno


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to