PeachDrawing.PDF
PdfBookmark Class
One entry of a document outline (the bookmarks sidebar of a reader), added with AddBookmarks(IEnumerable<PdfBookmark>).
public sealed class PdfBookmark
Inheritance System.Object → PdfBookmark
| Constructors | |
|---|---|
| PdfBookmark(int, string, bool) | Creates an entry. |
| Properties | |
|---|---|
| IsOpen | Whether the entry’s children start expanded. |
| Level | The nesting level, 1 or more. |
| PageIndex | The zero-based index of the page the entry leads to, or null for an entry with no destination (it is still kept, so its siblings and children nest as they would have). |
| StructureTarget | The key the entry’s destination was given when its structure element was opened with the PdfTagRecorder, or null. In a PDF 2.0 file an entry that has one leads to that element (a structure destination, which PDF/UA-2 requires of every destination within the document); otherwise it leads to PageIndex. |
| Title | The label to show. |
| TopPoints | How far below the top edge of PageIndex’s page the destination is, in points. |
| Uri | The address the entry opens, or null. Takes the place of PageIndex when set. |