Add a Child Bookmark to a PDF Document
To add a child bookmark to a PDF, first add a parent bookmark:
- Open a document.
- Add a bookmark to the OutlineItemCollection, defining its properties.
- Add the OutlineItemCollection to the Document object’s Outlines collection.
The child bookmark is created just like the parent bookmark, as explained above, but is added to the parent bookmark’s Outlines collection.
The following code snippet shows how to add a child bookmark.