public final class ImagePlacementCollection extends Object implements Iterable<ImagePlacement>
Represents an image placements collection
Modifier and Type | Method and Description |
---|---|
void |
add(ImagePlacement fragment)
Adds the text fragment element at the specified index.
|
void |
clear()
Clears all items from the collection.
|
boolean |
contains(ImagePlacement item)
Determines whether the collection contains a specific value.
|
void |
copyTo(ImagePlacement[] array,
int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified
index of the target array
|
ImagePlacement |
get_Item(int index)
Gets the text fragment 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 the 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<ImagePlacement> |
iterator()
Returns an enumerator for the entire collection.
|
boolean |
remove(ImagePlacement item)
Deletes specified item from collection
|
int |
size()
Gets the number of
ImagePlacement 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 ImagePlacement
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 the collection is read-only.
public void add(ImagePlacement fragment)
Adds the text fragment element at the specified index.
fragment
- ImagePlacement instancepublic com.aspose.ms.System.Collections.IEnumerator<ImagePlacement> iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<ImagePlacement>
public void copyTo(ImagePlacement[] array, int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array
array
- Array of objects which will be copied.index
- Starting index from which copying will be started.public void clear()
Clears all items from the collection.
public boolean contains(ImagePlacement item)
Determines whether the collection contains a specific value.
item
- The object to locate in the collectionpublic boolean remove(ImagePlacement item)
Deletes specified item from collection
item
- Item to deletepublic ImagePlacement get_Item(int index)
Gets the text fragment element at the specified index.
index
- Index of image placement.