Pdf |
A PDF document may contain a document outline that the conforming reader may display on the screen, allowing the user to navigate interactively from one part of the document to another. The outline consists of a tree-structured hierarchy of outline items (sometimes called bookmarks), which serve as a visual table of contents to display the document’s structure to the user.
PdfOutlineCollection represents a collection of outline items.
| This collection is implemented as doubly linked list and therefore methods that use random access (index) are an O(n) operations, where n is Count. |
The PdfOutlineCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| First | (Required if the item has any descendants; shall be an indirect reference) The first of this item’s immediate children in the outline hierarchy. | |
| Last | (Required if the item has any descendants; shall be an indirect reference) The last of this item’s immediate children in the outline hierarchy. |
| Name | Description | |
|---|---|---|
| AddAfter(PdfOutline, PdfOutline) | Adds the specified new PdfOutline after the specified existing PdfOutline in the PdfOutlineCollection. | |
| AddAfter(PdfOutline, String) | Adds a new PdfOutline with the specified title after the specified existing PdfOutline in the PdfOutlineCollection. | |
| AddBefore(PdfOutline, PdfOutline) | Adds the specified new PdfOutline before the specified existing PdfOutline in the PdfOutlineCollection. | |
| AddBefore(PdfOutline, String) | Adds a new PdfOutline with the specified title before the specified existing PdfOutline in the PdfOutlineCollection. | |
| AddFirst(PdfOutline) | Adds the specified PdfOutline at the start of the PdfOutlineCollection. | |
| AddFirst(String) | Adds a new PdfOutline with the specified title at the start of the PdfOutlineCollection. | |
| AddLast(PdfOutline) | Adds the specified PdfOutline at the end of the PdfOutlineCollection. | |
| AddLast(String) | Adds a new PdfOutline with the specified title at the end of the PdfOutlineCollection. | |
| RemoveFirst | Removes the PdfOutline at the start of the PdfOutlineCollection. | |
| RemoveLast | Removes the PdfOutline at the end of the PdfOutlineCollection. |
| Name | Description | |
|---|---|---|
| GetArray |
Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions) | |
| GetArray |
Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) | |
| GetDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) | |
| GetOrAddArray |
Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions) | |
| GetOrAddDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) |