Hi,
I am currently evaluating the product to see if it meets our need. I am using temporary license, so do have access to full feature. I have a question on Aspose.word bookmark feature. I found good amount of information on Aspose.pdf bookmark feature but didn’t find much on Word.
- If I have a word document which have multiple bookmark across several pages. Is there a way I can extract all the bookmarks. I also need to know the Page Number of each bookmark.
For Aspose.Pdf I think this is possible using following code. But not sure for Aspose.word.
PdfBookmarkEditor bookmarkEditor = new PdfBookmarkEditor();
//open PDF file
bookmarkEditor.BindPdf(fileName);
Aspose.Pdf.Facades.Bookmarks bookmarks = bookmarkEditor.ExtractBookmarks();
foreach (Aspose.Pdf.Facades.Bookmark bookmark in bookmarks)
{
// bookmark.PageNumber;
// bookmark.Title
}
Please let me know.
Thank you.