OutlineItemCollection

OutlineItemCollection class

Represents outline entry in outline hierarchy of PDF document.

public sealed class OutlineItemCollection : Outlines

Constructors

Name Description
OutlineItemCollection(OutlineCollection) Initializes outline item instance using root hierarchy object.

Properties

Name Description
Action { get; set; } Gets or sets the action for this outline item.
Bold { get; set; } Gets or sets bold flag for the title text of this outline item
Color { get; set; } Gets or sets the color for the title text of this outline item.
override Count { get; } Count of collection items. Please dont confuse with VisibleCount: VisibleCount gets number of visible outline item on all levels.
Destination { get; set; } Gets or sets the destination for this outline item.
First { get; } Gets the outline item representing the first top-level item in the outline hierarchy.
HasNext { get; } Check if outline item representing next item relatively this item in the outline hierarchy.
override IsReadOnly { get; } Gets a value indicating whether the collection is read-only.
IsSynchronized { get; } Gets the value indicating whether access to this collection is synchronized (thread safe).
Italic { get; set; } Gets or sets italic flag for the title text of this outline item
Item { get; } Gets outline item from the collection using index.
Last { get; } Gets the outline item representing the last top-level item in the outline hierarchy.
Level { get; } Gets hierarchy level of outline item.
Next { get; } Gets the outline item representing next item relatively this item in the outline hierarchy.
Open { get; set; } Get or sets open status (true/false) for outline item.
Parent { get; } Gets the parent object of this outline item in the outline hierarchy.
Prev { get; } Gets the outline item representing previous item relatively this item in the outline hierarchy.
SyncRoot { get; } Gets the object that can be used to synchronize access to this collection.
Title { get; set; } Gets or sets the title for this outline item.
override VisibleCount { get; } Gets the total number of outline items at all levels in the document outline hierarchy.

Methods

Name Description
override Add(OutlineItemCollection) Adds outline item to collection.
override Clear() Clears all items from the collection.
override Contains(OutlineItemCollection) Checks if collection contains given item.
override CopyTo(OutlineItemCollection[], int) Copies the outline entries to an System.Array, starting at a particular System.Array index.
Delete() Deletes this outline item from the document outline hierarchy.
Delete(string) Deletes outline entry with specified name from the document outline hierarchy.
override GetEnumerator() Returns an enumerator that iterates through the collection.
Insert(int, OutlineItemCollection) Inserts the outline item into collection at the specified place.
Remove(int) Remove item by index.
override Remove(OutlineItemCollection) Remove outline collection item.

See Also