PDF generation with Bookmarks and flags

We have a requirement to generate a PDF from Microsoft word with Bookmark and flags.
Is the following requirement possible to implement using Aspose.words?
1.bookmark to identify text that we want to revise later. Instead of scrolling through the document to locate the text with flag.
If this is possible can someone guide me to a sample application or help content for this.

Thanks and Regards

Hi Shymol,

Thanks for your interest in Aspose.Words. Aspose.Words preserves bookmarks during rendering to PDF and the bookmarks in Word documents are converted to bookmarks in PDF. Pleas refer to the PdfSaveOptions.OutlineOptions property below:

I hope, this helps.

Best regards,