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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Number of top-level outline items. |
IsReadOnly | bool | Read | Whether the collection is read-only. |
VisibleCount | int | Read | Number of bookmarks that are visible (counts /Count entries recursively). |
Methods
| Signature | Description |
|---|---|
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. |