PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Search for text
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2778
Page 1 of 1

Author:  herrozerro [ Fri Mar 28, 2014 12:29 pm ]
Post subject:  Search for text

Hello! I have recently found PDFSharp while looking for a PDF solution. I was wondering if this functionality existed. For example I have a large document and wish to add an index, but since this file is generated multiple times a week I wanted to automate the process.

I was hoping to do something like search for the text segment on the index page, use it's rectangle to create a link and then search the rest of the document for it's matching header and link to that page. So far in digging through the wiki and the object browser, I have found how to add bookmarks and links. But no luck finding text search.

is this a feature of PDFSharp?

thanks!

Author:  Thomas Hoevel [ Mon Mar 31, 2014 8:00 am ]
Post subject:  Re: Search for text

Hi!

PDFsharp does not really support this.

See this post for code to get you started:
viewtopic.php?p=1603#p1603

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/