Add a Child Bookmark to a PDF Document

Contents
[ ]

To add a child bookmark to a PDF, first add a parent bookmark:

  1. Open a document.
  2. Add a bookmark to the OutlineItemCollection, defining its properties.
  3. 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.