BookmarkCollection module

class BookmarkCollection.BookmarkCollection

Bases: CollectionEx

A collection of Bookmark objects that represent the bookmarks in the document.

Clear()

Removes all bookmarks from the document.

FindByName(name: str) Bookmark

Finds Bookmark object by specified name. :param name: The bookmark name :returns: The found Bookmark object

Remove(bookmark: Bookmark)

Removes the specified bookmark. :param bookmark: The bookmark.

RemoveAt(index: int)

Removes a bookmark at the specified index. :param index: The index.

get_Item

Gets the Bookmark with the specified name.