PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 30, 2024 8:24 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Search for text
PostPosted: Fri Mar 28, 2014 12:29 pm 
Offline

Joined: Fri Mar 28, 2014 12:25 pm
Posts: 1
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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Search for text
PostPosted: Mon Mar 31, 2014 8:00 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
Hi!

PDFsharp does not really support this.

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

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 78 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group