View previous topic :: View next topic |
Author |
Message |
case
Joined: 24 Oct 2006 Posts: 3 Location: Germany
|
Posted: Mon Oct 30, 2006 2:42 pm Post subject: NullReferenceException while accessing outlines |
|
|
Hi,
I'm trying to access the bookmarks of a pdfdocument and i'm geting a NullReferenceException. What can I do?
Code: |
string file = "document.pdf"; //document with bookmarks
PdfDocument doc = PdfReader.Open(file);
doc.Outlines; //this results in a NullReferenceException!
|
Thanks for your replys,
case. |
|
Back to top |
|
 |
Stefan Lange

Joined: 12 Oct 2006 Posts: 47 Location: Cologne, Germany
|
Posted: Mon Oct 30, 2006 7:06 pm Post subject: |
|
|
Hello,
This is not yet implemented. PDFsharp was originally designed only to create PDF files, not to modify its existing structure.
Reading Outlines from an existing PDF file is on the to-do list. Reading Annotations e.g. already works.
Regards
Stefan Lange |
|
Back to top |
|
 |
|