Please pardon me, I am new to PDFsharp. I would like to commend those that have taken the time to create such an incredible tool.
I have taken the time to do some searching. But as of yet I haven't been able to find anything that lead me in the right direction.
First of all I am trying to strip a document of it's text to look for certain strings. While I have been able to do this, I also need to look up the position of the found strings, because there is a posibility of the strings occuring in other places in the document. If they occur else where I do not care.
The documents are in the same templated format, so I'm certain that the string I'm looking for will always be in the same position, or close enough that I can allow for a small amount of movement.
I have interated through everything I can think of to get at specific elements and still been unable to find any strings at all.
It maybe my lack of understanding of the PDF format. But I was assuming that I would find all the elements for the document easily accessible. IE Document.Page.Elements. Then a foreach would take me through the page's elements allowing me to look for certain types. And the types would have all the relevant information such as Location, Text, Font, etc...
If this is possible I would certainly like to know.
The second thing I'm trying to do is to split these same pdf files and merge them into seperate ones based upon the incoming data. Thank you however wrote the split and merge routines. That part of the job will be easy to manage and won't take long to code once I get the first part out of the way.
Thanks in advanced for any help or assitance that can be provided.
|