Adding Bookmarks to PDF file

Bookmarks give you the option to keep track/link to specific page inside the PDF document. PdfContentEditor class in Aspose.Pdf.Facades namespace provides a feature which allows you to create your own bookmark in a sophisticated yet intuitive way within an existing PDF file, at a given page or all pages.

Implementation details

Other than the creation of simple bookmarks, sometimes you have a requirement to create a bookmark in the form of chapters where you nest the individual bookmarks inside of the chapter bookmarks so that when you click on the + sign for a chapter you would see the pages inside when the bookmarks expands, as shown in the picture below .