This class plays two roles: it's a base class for all bookmarks
and it's a root of a bookmarks tree.
Namespace: Spire.Pdf.BookmarksAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfBookmarkCollection : IPdfWrapper, IEnumerable
Public Class PdfBookmarkCollection Implements IPdfWrapper, IEnumerable
public ref class PdfBookmarkCollection : IPdfWrapper, IEnumerable
type PdfBookmarkCollection = class interface IPdfWrapper interface IEnumerable end
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| Add(String) |
Creates and adds an outline.
| |
| Clear()()()() |
Removes all the bookmark from the document.
| |
| Contains(PdfBookmark) |
Determines whether the specified outline is a direct descendant of the outline base.
| |
| Count |
Gets number of the elements in the collection.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Insert(Int32, String) |
Inserts a new outline at the specified index.
| |
| Item[([( Int32])]) |
Gets the at the specified index.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(String) |
Removes the specified bookmark from the document.
| |
| RemoveAt(Int32) |
Removes the specified bookmark from the document at the specified index.
| |
| ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Bookmarks..::..PdfBookmarkCollection
Spire.Pdf.Bookmarks..::..PdfBookmark
Spire.Pdf.Bookmarks..::..PdfBookmarkCollection
Spire.Pdf.Bookmarks..::..PdfBookmark