View previous topic :: View next topic |
Author |
Message |
robertoho
Joined: 10 Apr 2009 Posts: 1
|
Posted: Sat Apr 11, 2009 6:36 am Post subject: How to read the outlines from the existing pdf? |
|
|
I have used the following codes, but it does work:
string filename = "Bookmarks.pdf";
PdfDocument document = PdfReader.Open(filename, PdfDocumentOpenMode.Modify);
PdfOutline.PdfOutlineCollection outlines = document.Outlines;
Console.Writeline(outlines.Count);
The outlines.Count always return 0. |
|
Back to top |
|
 |
pinne65
Joined: 13 May 2009 Posts: 1
|
Posted: Wed May 13, 2009 9:00 pm Post subject: Plit by Outline / Bookmark |
|
|
I did pretty much the same thing. Ran the Bookmarks example and then used the output file to try to read in the outlines in order to split the file. But I'm getting a count of 0 (zero) as well. |
|
Back to top |
|
 |
|