Class PdfOutlineItemCollection
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Represents a collection of outline items (bookmarks). The collection can represent either the document outline (see Outlines) or the child items of an outline item (see Children).
public sealed class PdfOutlineItemCollection : IEnumerable<PdfOutlineItem>, IEnumerable
- Inheritance
-
PdfOutlineItemCollection
- Implements
- Inherited Members
Remarks
Provides enumeration of the PdfOutlineItem objects contained in the collection.
The PDF bookmarks section describes how to add outlines to PDF documents.
The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.
Properties
- First
Gets the low-level dictionary referenced by the
/Firstkey in the underlying dictionary that serves as the data source for this collection.
- Last
Gets the low-level dictionary referenced by the
/Lastkey in the underlying dictionary that serves as the data source for this collection.
Methods
- Add(string)
Creates a new outline item with the specified title and adds it to the end of the collection.
- Clear()
Removes all outline items from this collection.
- GetEnumerator()
Returns an enumerator that iterates through the collection of outline items (bookmarks).
- InsertAfter(PdfOutlineItem, string)
Creates a new outline item with the specified title and inserts it after the specified item in the collection.
- InsertBefore(PdfOutlineItem, string)
Creates a new outline item with the specified title and inserts it before the specified item in the collection.
- Remove(PdfOutlineItem)
Removes the specified outline item from the collection.