Articles in this section
Category / Section

How do I get the bookmarks present in the document?

3 mins read

 

The document.Bookmarks property holds the collection of bookmarks present in the current document. This is assigned to the BookmarkCollection class.

C#

// Get the bookmarks collections in the document.

BookmarkCollection bookmarks = document.Bookmarks;

VB

' Get the bookmarks collections in the document.

Dim bookmarks As BookmarkCollection = document.Bookmarks

Here is the sample.

BookMark_Collection.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied