Ok, so I'm having an issue.
I create my document with MigraDoc. Define headerfooter, content and etc. Throughout the content I'm adding paragraphs with local/bookmark links. Also adding a AddPageRefLink(). Then I call DocumentRenderer.RenderDocument() after assigning its Document property.
Then I loop through some attachments and add them to the document with DocumentRenderer.PdfDocument.AddPage() I also add an outline to that imported document (pdf) with: DocumentRenderer.PdfDocument.Outlines.Add()
The problem is, that when I call RenderDocument, its only rendering the MigraDoc content that was added. So out beside the local/bookmark links it says "Bookmark 'x' is not defined within the document."
How can I define book mark links in the MigraDoc document I create to work globally after I've added external pdf pages to it?
Thanks,
Justin
Last edited by MonkFox on Wed Apr 17, 2013 4:48 pm, edited 1 time in total.
|