Aspose::Words::BookmarkCollection class
Contents
[
Hide
]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
| Method | Description |
|---|---|
| Clear() | Removes all bookmarks from this collection and from the document. |
| get_Count() | Returns the number of bookmarks in the collection. |
| GetEnumerator() override | Returns an enumerator object. |
| GetType() const override | |
| idx_get(int32_t) | Returns a bookmark at the specified index. |
| idx_get(const System::String&) | Returns a bookmark by name. |
| Is(const System::TypeInfo&) const override | |
| 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. |
| static Type() |
See Also
- Namespace Aspose::Words
- Library Aspose.Words for C++