public final class TextSegmentCollection extends Object implements Iterable<TextSegment>
Represents a text segments collection
Modifier and Type | Method and Description |
---|---|
void |
add(TextSegment segment)
Adds the text segment element at the specified index.
|
void |
delete(int index)
Deletes the text segment element at the specified index.
|
TextSegment |
get_Item(int index)
Gets the text segment element at the specified index.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
|
boolean |
isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns an enumerator for the entire collection.
|
int |
size()
Gets the number of
TextSegment 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 TextSegment
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 void add(TextSegment segment)
Adds the text segment element at the specified index.
segment
- Text segment objectpublic void delete(int index)
Deletes the text segment element at the specified index.
index
- int valuepublic com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<TextSegment>
public TextSegment get_Item(int index)
Gets the text segment element at the specified index.
index
- Index within the collection.Copyright © 2018 Aspose. All Rights Reserved.