I have a fairly simple task, i think it would be, which is to get outline of PDF document. So, i start my c# programming these days. But things not work charm in my coding. I'm facing a problem to get the outline and get an error saying no appropriate constructor fond for type:PdfOutline. I think there’s something special i miss. So, somebody any idea to help me out?
Would be greatly appreciated!
Answers
Sorry to ask the same question. I'm facing the same problem and i'm actually looking for a fix for this as well. I was required to accomplish the access to outline structure of an existing PDF. Till now, i am really upset with this issue. I cannot do it. As i know, a lot of stuff won't work with existing PDF documents, like existing outlines.
This is a little bit complicated but it is not a hard issue. So, do not worry. Here, i suggest you to use XsPDF library APIs for your c# programming. In details, you are enabled to have an access to your PDF document outline and get the first outline, then the title of this outline.
One more thing you should know. It maybe a little complicated because PDF outline have various formats. And the most special case is for new acrobat documents which support outlining to various points on a single PDF page.
We suggest you to have a try with the .net basic library of XsPDF. It will help you quickly get a PDF document outline in C#.