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.


Name Description
__getitem__(index) Returns a bookmark at the specified index.


Name Description
count Returns the number of bookmarks in the collection.


Name Description
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