BookmarkCollection class

BookmarkCollection class

A collection of Bookmark objects that represent the bookmarks in the specified range. To learn more, visit the Working with Bookmarks documentation article.

Indexers

NameDescription
__getitem__(index)Returns a bookmark at the specified index.

Properties

NameDescription
countReturns the number of bookmarks in the collection.

Methods

NameDescription
clear()Removes all bookmarks from this collection and from the document.
get_by_name(bookmark_name)Returns a bookmark by name.
remove(bookmark)Removes the specified bookmark from the document.
remove(bookmark_name)Removes a bookmark with the specified name.
remove_at(index)Removes a bookmark at the specified index.

See Also