I created a Word document and added bookmarks using the Native Word feature:
Insert → Bookmark.
Then, I process the document with Aspose.Words and save it as a PDF. Here’s the code I’m using:
var reportBuildOptions = …...and added bookmarks using the native Word feature: Insert → Bookmark...