Aspose::Words::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.

class BookmarkCollection : public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Words::Bookmark>>

Methods

MethodDescription
Clear()Removes all bookmarks from this collection and from the document.
GetEnumerator() overrideReturns an enumerator object.
Remove(const System::SharedPtr<Aspose::Words::Bookmark> &)Removes the specified bookmark from the document.
Remove(const System::String &)Removes a bookmark with the specified name.
RemoveAt(int32_t)Removes a bookmark at the specified index.
get_Count()Returns the number of bookmarks in the collection.
idx_get(const System::String &)Returns a bookmark by name.
idx_get(int32_t)Returns a bookmark at the specified index.

See Also