Search and highlight within PDF

17 views
Skip to first unread message

Support

unread,
May 12, 2010, 2:34:49 PM5/12/10
to PDF2Text
Q: A few months ago we bought Pdf2Text and Pdf2Image and we've been
using it since and we like your product. When we went through the
documentation once again for Pdf2Text it clearly says in 1.1.3 Sample
Use Case Scenarios that you can use it to "Search PDF pages for
specific words or keywords and return their positioning information
(e.g. to highlight instances
of a given word)." However we cannot see any examples or figure out
what command to use to do this.
How can we use this feature?

----------
A: There is no specific command line that will highlight words in an
existing PDF. PDF2Text only extracts text and positioning info (which
is stored in an XML file). This info can be used to add text
highlights using a PDF toolkit such as PDFNet SDK. For sample code
please see:
http://pdfnet-sdk.googlegroups.com/web/HighlightPDFText.cs

or the following article:

http://groups.google.com/group/pdfnet-sdk/browse_thread/thread/12ab95d58a5e0c2d/8f80a2790b1b42df

If you have a license for PDFNet you don’t really need PDF2Text
because all the functionality is available as part of
'pdftron.PDF.TextExtract' (see TextExtract sample -
http://www.pdftron.com/pdfnet/samplecode.html#TextExtract).

--
You received this message because you are subscribed to the Google Groups "PDF2Text" group.
To post to this group, send email to pdf2...@googlegroups.com.
To unsubscribe from this group, send email to pdf2text+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pdf2text?hl=en.

Reply all
Reply to author
Forward
0 new messages