Namespace TallComponents.PDF.Navigation
Class BookmarkCollection
A collection of child bookmarks or the root bookmarks.
Syntax
public class BookmarkCollection : Object,IEnumerable<Bookmark>
Constructors
Properties
Int32 Count
Number of bookmarks in this collection.
Bookmark Item
Get the bookmark at the specified index.
Boolean Open
Indicates whether the bookmark collection is open (i.e. expanded).
Methods
Void Add(Bookmark)
Add an existing bookmark to the end of the collection.
Void AddRange(Bookmark[])
Adds the elements of a Bookmark array to the end of this collection.
Void Clear()
Clear this collection.
Boolean Contains(Bookmark)
Determine whether an Bookmark is in the BookmarkCollection.
IEnumerator<Bookmark> GetEnumerator()
Implements strong typed IEnumerable<T>.GetEnumerator.
Int32 IndexOf(Bookmark)
Returns the index of the specified bookmark in the collection.
Bookmark Insert(Int32)
Insert a new bookmark at the specified index.
Void Insert(Int32,Bookmark)
Insert an existing bookmark at the specified index.
Boolean Remove(Bookmark)
Remove a bookmark from this collection.
Void RemoveAt(Int32)
Remove a bookmark at the specified index.