Displaying Bookmarks

Displaying Bookmarks

Forum member · Mar 1, 2006
I'm trying out PDF Merge for .net and want to know if I can create a bookmark panel in Acrobat as part of a document, use that document as the primary merge document, and display the bookmark panel that I created. I see how to create a new bookmark panel with mypage.Elements.Add(New Bookmark..., but I do not see how to display an existing bookmark panel. Thanks Richard Ozer

Re: Displaying Bookmarks

Support · Mar 2, 2006
Hello Richard, Once you have the PDF document with bookmarks, you can use our Merger product to merge an existing PDF file with the bookmarks. You can output the PDF file with the bookmarks as a byte array or output stream and then pass it to the PdfDocument object constructor. Annotations(bookmarks) from existing PDF documents are not preserved when merged in v3.0. Preserving annotations is a feature that we have added to version 4.0 of DynamicPDF Merger for .NET. The BETA for this has been released and can be downloaded from our web site. Thanks, ceTe Software Support Team

Re: Displaying Bookmarks

Forum member · Mar 2, 2006
So I think what you are saying is that I have to create two documents. The first document is my content and form elements (which I'm using your product to display and pre-fill), and the second document is just a set of bookmarks. I then merge the second document with the first using a byte array and constructor and the web page will then show both the form and the bookmark pane. Did I get that right?

Re: Displaying Bookmarks

Support · Mar 2, 2006
Hello, No, you do not have to create two separate documents and then merge them. This is how your flow will work. You create a PDF document with all your bookmarks, form elements and other contents initially and then output that to a byte array or output stream and then pass that stream or byte array to a PdfDocument constructor and then perform the form filling. Then you can output the final PDF document with bookmarks and form elements filled. Thanks, ceTe Software Support Team

Re: Displaying Bookmarks

Forum member · Mar 2, 2006
Thank you, I get it! A strong cup of coffee really helped... RO