Expanded Bookmarks when viewing document
Contents[ Hide ]
Bookmarks are held in the Document object’s OutlineItemCollection collection, itself in the OutlineItemCollection collection. However we may have a requirement to have all the bookmarks expanded when viewing the PDF file.
In order to accomplish this requirement, we can set open status for each outline/bookmark item as Open. The following code snippet shows you how to set open status for each bookmark as expanded in a PDF document.