Aspose::Pdf::OutlineCollection class

OutlineCollection class

Represents document outline hierarchy.

class OutlineCollection : public Aspose::Pdf::Outlines

Methods

MethodDescription
Add(const System::SharedPtr<OutlineItemCollection>&) overrideAdds outline item to collection.
Clear() overrideClears all items from the collection.
Contains(const System::SharedPtr<OutlineItemCollection>&) const overrideChecks does collection contains given item.
CopyTo(System::ArrayPtr<System::SharedPtr<OutlineItemCollection>>, int32_t) overrideCopies the outline items to an System.Array, starting at a particular System.Array index.
Delete()Deletes all outline items from the document outline.
Delete(System::String)Deletes the outline item with specified title from the document outline.
get_Count() const overrideCount of collection items. Please dont confuse with VisibleCount: VisibleCount gets number of visible outline item on all levels.
get_First() constGets an outline item representing the first top-level item in the outline.
get_IsReadOnly() const overrideGets a value indicating whether the collection is read-only.
get_IsSynchronized()Gets a value indicating whether access to this collection is synchronized (thread safe).
get_Last()Gets an outline item representing the last top-level item in the outline.
get_SyncRoot() constGets an object that can be used to synchronize access to this collection.
get_VisibleCount() overrideCount is the sum of the number of visible descendent outline items at all levels. Note: please don’t confuse with Count which is number if items in collection.
GetEnumerator() overrideReturns an enumerator that iterates through the collection.
idx_get(int32_t)Gets outline item from collection by index.
Remove(const System::SharedPtr<OutlineItemCollection>&) overrideAlways throws NotImplementedException
Remove(int32_t)Remove item by index.

See Also