I have a requirement to be able to open and read a PDF file using C#. The idea is that I will read the PDF looking for specific keywords and storing the page on which the keyword was found. I then want to be able to open the PDF jumping directly to the page on which I found the keyword.
My PDF does have bookmarks within it - looking at the documentation for Adobe Acrobat it appears that you can open a PDF and jump to a bookmark. My question therefore is
1> How can I read the PDF initially and search for a keyword.
2> How can I find out if there is a bookmark on the page containing the keyword and if there is recover its name to be used when invoking Acrobat?
The idea is that the PDF is a parts catalogue and I want to link the parts within the database to the page in the catalogue which describes them.