Table of Contents

Class PdfOutlineCollection

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a collection of outlines.

public class PdfOutlineCollection : PdfObject
Inheritance
object
PdfOutlineCollection
Inherited Members
Extension Methods

Properties

Count

Gets the number of entries in this collection.

IsReadOnly

Returns false.

this[int]

Gets the PdfOutline at the specified index.

Methods

Add(PdfOutline)

Adds the specified outline.

Add(string, PdfPage)

Creates a PdfOutline and adds it into the outline collection.

Add(string, PdfPage, bool)

Adds the specified outline entry.

Add(string, PdfPage, bool, PdfOutlineStyle)

Adds the specified outline entry.

Add(string, PdfPage, bool, PdfOutlineStyle, XColor)

Adds the specified outline entry.

Clear()

Removes all elements form the collection.

Contains(PdfOutline)

Determines whether the specified element is in the collection.

CopyTo(PdfOutline[], int)

Copies the collection to an array, starting at the specified index of the target array.

GetEnumerator()

Returns an enumerator that iterates through the outline collection.

IndexOf(PdfOutline)

Gets the index of the specified item.

Insert(int, PdfOutline)

Inserts the item at the specified index.

Remove(PdfOutline)

Removes the first occurrence of a specific item from the collection.

RemoveAt(int)

Removes the outline item at the specified index.