Outlines

Overview

Outlines is a class in Aspose.PDF FOSS for .NET.

Document-level bookmark (outline) collection.

This class provides 6 methods for working with Outlines objects in .NET programs. Available methods include: Add, Clear, Contains, CopyTo, GetEnumerator, Remove. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Count, IsReadOnly, VisibleCount.

Properties

NameTypeAccessDescription
CountintReadNumber of top-level outline items.
IsReadOnlyboolReadWhether the collection is read-only.
VisibleCountintReadNumber of bookmarks that are visible (counts /Count entries recursively).

Methods

SignatureDescription
Add(item: OutlineItemCollection)Append an outline item.
Clear()Remove every outline item.
Contains(item: OutlineItemCollection)Whether the supplied item is present at the top level.
CopyTo(array: OutlineItemCollection[], arrayIndex: int)Copy the collection into an array starting at arrayIndex.
GetEnumerator()Enumerator over the top-level outline items.
Remove(item: OutlineItemCollection)Remove the supplied item and report whether it was present.

See Also