Modifier and Type | Method and Description |
---|---|
void |
add(OutlineItemCollection outline)
Adds outline item to collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies the outline items to an System.Array, starting at a particular System.Array index.
|
void |
delete()
Deletes all outline items from the document outline.
|
void |
delete(String name)
Deletes the outline item with specified title from the document outline.
|
OutlineItemCollection |
get_Item(int index)
Gets outline item from collection by index.
|
OutlineItemCollection |
getFirst()
Gets an outline item representing the first top-level item in the outline.
|
OutlineItemCollection |
getLast()
Gets an outline item representing the last top-level item in the outline.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to this collection.
|
boolean |
isSynchronized()
Gets a value indicating whether access to this collection is synchronized (thread safe).
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns an enumerator that iterates through the collection.
|
int |
size()
Gets the total number of outline items (bookmarks) at all levels of the document outline.
|
public int size()
Gets the total number of outline items (bookmarks) at all levels of the document outline.
size
in interface com.aspose.ms.System.Collections.ICollection
public OutlineItemCollection getFirst()
Gets an outline item representing the first top-level item in the outline.
public OutlineItemCollection getLast()
Gets an outline item representing the last top-level item in the outline.
public boolean isSynchronized()
Gets a value indicating whether access to this collection is synchronized (thread safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public Object getSyncRoot()
Gets an object that can be used to synchronize access to this collection.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
public void add(OutlineItemCollection outline)
Adds outline item to collection.
outline
- The outline item to be added.public void delete()
Deletes all outline items from the document outline.
public void delete(String name)
Deletes the outline item with specified title from the document outline.
name
- The title of outline item to be deletedpublic void copyTo(com.aspose.ms.System.Array array, int index)
Copies the outline items to an System.Array, starting at a particular System.Array index.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- The one-dimensional System.Array that is the destination. Must have zero-based indexing.index
- The zero-based index in array at which copying begins.public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator that iterates through the collection.
public OutlineItemCollection get_Item(int index)
Gets outline item from collection by index.
index
- Copyright © 2017 Aspose. All Rights Reserved.