I am using the Aspose.Words for SharePoint to convert the Word to PDF. When I convert is there any option to specify the Word Bookmark to PDF NamedDest? I want the bookmark to be used directly in the webpage Url like www.aspose.com/mypdf#nameddest=TOC
Thanks for the info. Currently I am trying to use that API in my conversion code. But I am not sure how to use it. Can you please share me any sample code to set this option before converting it to PDF?
Thanks for sharing the code. I have used this code and after word is converted to pdf the bookmarks and bookmark panel is coming and we can navigate to bookmark by clicking it in panel.
But i am not able to navigate to particular bookmark in web browser directly by passing the #nameddest as parameter in the pdf link. . I tried using below two option
http://servername/Share Document/Manual_Test/testbm1.pdf?#nameddest=test8 or
Please note that Aspose.Words' page layout engine tries to mimic the way the Microsoft Word’s page layout engine works. To you, this means that if you convert a Microsoft Word document into PDF, XPS or print it using Aspose.Words, the output will appear almost exactly as if it was done by Microsoft Word. To confirm this, I have attached a PDF document, i.e. generated by using Microsoft Word 2007 on my side, here for your reference.
Also, please note that a Bookmark in PDF document is not a named destination. I think, the following link will help you in creating a named destination in PDF:
Thanks for your inquiry. I feel your query is more related to Aspose.PDF, I will move your request in Aspose.PDF forum. My colleagues from Aspose.PDF component team will answer you shortly.