OutlineItemCollection Class
Represents outline entry in outline hierarchy of PDF document.
Inheritance Hierarchy

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.5
Syntax
public sealed class OutlineItemCollection : Outlines

The OutlineItemCollection type exposes the following members.

Constructors
  NameDescription
Public methodOutlineItemCollection
Initializes outline item instance using root hierarchy object.
Properties
  NameDescription
Public propertyAction
Gets or sets the action for this outline item.
Public propertyBold
Gets or sets bold flag for the title text of this outline item
Public propertyColor
Gets or sets the color for the title text of this outline item.
Public propertyCount
Count of collection items. Please dont confuse with VisibleCount: VisibleCount gets number of visible outline item on all levels.
(Overrides OutlinesCount.)
Public propertyDestination
Gets or sets the destination for this outline item.
Public propertyFirst
Gets the outline item representing the first top-level item in the outline hierarchy.
Public propertyHasNext
Check if outline item representing next item relatively this item in the outline hierarchy.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
(Overrides OutlinesIsReadOnly.)
Public propertyIsSynchronized
Gets the value indicating whether access to this collection is synchronized (thread safe).
Public propertyItalic
Gets or sets italic flag for the title text of this outline item
Public propertyItem
Gets outline item from the collection using index.
Public propertyLast
Gets the outline item representing the last top-level item in the outline hierarchy.
Public propertyLevel
Gets hierarchy level of outline item.
Public propertyNext
Gets the outline item representing next item relatively this item in the outline hierarchy.
Public propertyOpen
Get or sets open status (true/false) for outline item.
Public propertyParent
Gets the parent object of this outline item in the outline hierarchy.
Public propertyPrev
Gets the outline item representing previous item relatively this item in the outline hierarchy.
Public propertySyncRoot
Gets the object that can be used to synchronize access to this collection.
Public propertyTitle
Gets or sets the title for this outline item.
Public propertyVisibleCount
Gets the total number of outline items at all levels in the document outline hierarchy.
(Overrides OutlinesVisibleCount.)
Methods
  NameDescription
Public methodAdd
Adds outline item to collection.
(Overrides OutlinesAdd(OutlineItemCollection).)
Public methodClear
Clears all items from the collection.
(Overrides OutlinesClear.)
Public methodContains
Checks if collection contains given item.
(Overrides OutlinesContains(OutlineItemCollection).)
Public methodCopyTo
Copies the outline entries to an System.Array, starting at a particular System.Array index.
(Overrides OutlinesCopyTo(OutlineItemCollection, Int32).)
Public methodDelete
Deletes this outline item from the document outline hierarchy.
Public methodDelete(String)
Deletes outline entry with specified name from the document outline hierarchy.
Public methodEquals (Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Overrides OutlinesGetEnumerator.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInsert
Inserts the outline item into collection at the specified place.
Public methodRemove(Int32)
Remove item by index.
Public methodRemove(OutlineItemCollection)
Remove outline collection item.
(Overrides OutlinesRemove(OutlineItemCollection).)
Public methodToString (Inherited from Object.)
See Also