public final class TextParagraphCollection extends Object implements Iterable<TextParagraph>
Represents a text paragraphs collection
Modifier and Type | Method and Description |
---|---|
void |
add(TextParagraph paragraph)
Adds the text paragraph element at the specified index.
|
void |
clear()
Clears all items from the collection.
|
boolean |
contains(TextParagraph item)
Determines whether the collection contains a specific value.
|
void |
copyTo(TextParagraph[] array,
int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified
index of the target array
|
TextParagraph |
get_Item(int index)
Gets the text paragraph element at the specified index.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
|
boolean |
isReadOnly()
Gets a value indicating whether collection is read-only
|
boolean |
isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
|
com.aspose.ms.System.Collections.IEnumerator<TextParagraph> |
iterator()
Returns an enumerator for the entire collection.
|
boolean |
remove(TextParagraph item)
Deletes specified item from collection.
|
int |
size()
Gets the number of
TextParagraph object elements actually contained in the
collection. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
Gets the number of TextParagraph
object elements actually contained in the
collection.
public Object getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
public boolean isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
public boolean isReadOnly()
Gets a value indicating whether collection is read-only
public void add(TextParagraph paragraph)
Adds the text paragraph element at the specified index.
paragraph
- TextParagraph instancepublic com.aspose.ms.System.Collections.IEnumerator<TextParagraph> iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<TextParagraph>
public void copyTo(TextParagraph[] array, int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array
array
- Array collectionindex
- int valuepublic void clear()
Clears all items from the collection.
public boolean contains(TextParagraph item)
Determines whether the collection contains a specific value.
item
- The object to locate in the collectionpublic boolean remove(TextParagraph item)
Deletes specified item from collection.
item
- The object to deletepublic TextParagraph get_Item(int index)
Gets the text paragraph element at the specified index.
index
- int value