OutlineCollection

OutlineCollection class

Represents document outline hierarchy.

The OutlineCollection type exposes the following members:

Properties

NameDescription
visible_countCount 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.
firstGets an outline item representing the first top-level item in the outline.
lastGets an outline item representing the last top-level item in the outline.
is_synchronizedGets a value indicating whether access to this collection is synchronized (thread safe).
sync_rootGets an object that can be used to synchronize access to this collection.

Indexer

NameDescription
[index]Gets outline item from collection by index.

Methods

NameDescription
delete()Deletes all outline items from the document outline.
delete(name)Deletes the outline item with specified title from the document outline.

See Also