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.
PdfOutline represents a single outline item that is a node in the doubly linked list of outline items represented by PdfOutlineCollection.
The PdfOutline type exposes the following members.
Name | Description | |
---|---|---|
Actions | (Optional; PDF 1.1; shall not be present if a Dest entry is present) The action that shall be performed when this item is activated (see 12.6, "Actions"). | |
Closed | Gets or sets a value indicating whether this PdfOutline is closed. | |
Color | (Optional; PDF 1.4)A DeviceRGB color used for the outline entry’s text. | |
Destination | (Optional; shall not be present if an A entry is present) The destination that shall be displayed when this item is activated (see 12.3.2, "Destinations"). | |
DestinationName | (Optional; shall not be present if an A entry is present) The named destination that shall be displayed when this item is activated (see 12.3.2.3, "Named Destinations"). | |
Next | (Required for all but the last item at each level; shall be an indirect reference) The next item at this outline level. | |
Outlines | Gets the PdfOutlines contained directly under this PdfOutline. | |
Parent | Gets the parent PdfOutline of this PdfOutline in the outline hierarchy. | |
ParentCollection | Gets the PdfOutlineCollection that the PdfOutline belongs to. | |
Previous | (Required for all but the first item at each level; shall be an indirect reference) The previous item at this outline level. | |
Title | (Required) The text that shall be displayed on the screen for this item. |
Name | Description | |
---|---|---|
SetDestination | Sets the explicit destination that shall be displayed when this item is activated (see 12.3.2.2, "Explicit Destinations"). parameters represent the following values depending on the viewType parameter:
| |
ToString |
Returns a String that represents this PdfOutline instance.
(Overrides ObjectToString) |
Name | Description | |
---|---|---|
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) | |
GetOrAddDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) |