|PDFsharp & MigraDoc Foundation
|NullReferenceException while accessing outlines
|Page 1 of 1|
|Author:||case [ Mon Oct 30, 2006 2:42 pm ]|
|Post subject:||NullReferenceException while accessing outlines|
I'm trying to access the bookmarks of a pdfdocument and i'm geting a NullReferenceException. What can I do?
string file = "document.pdf"; //document with bookmarks
PdfDocument doc = PdfReader.Open(file);
doc.Outlines; //this results in a NullReferenceException!
Thanks for your replys,
|Author:||Stefan Lange [ Mon Oct 30, 2006 7:06 pm ]|
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.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group