ImagePlacementCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public final class ImagePlacementCollection implements Iterable<ImagePlacement>
Represents an image placements collection
Methods
Method | Description |
---|---|
size() | Gets the number of ImagePlacement object elements actually contained in the collection. |
getSyncRoot() | Gets an object that can be used to synchronize access to the collection. |
isSynchronized() | Gets a value indicating whether access to the collection is synchronized (thread safe). |
isReadOnly() | Gets a value indicating whether the collection is read-only. |
add(ImagePlacement fragment) | Adds the text fragment element at the specified index. |
iterator() | Returns an enumerator for the entire collection. |
copyTo(ImagePlacement[] array, int index) | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array |
clear() | Clears all items from the collection. |
contains(ImagePlacement item) | Determines whether the collection contains a specific value. |
remove(ImagePlacement item) | Deletes specified item from collection |
get_Item(int index) | Gets the text fragment element at the specified index. |
size()
public int size()
Gets the number of ImagePlacement object elements actually contained in the collection.
Returns: int - int value
getSyncRoot()
public Object getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
Returns: java.lang.Object - Object for synchronization
isSynchronized()
public boolean isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
Returns: boolean - boolean value
isReadOnly()
public boolean isReadOnly()
Gets a value indicating whether the collection is read-only.
Returns: boolean - boolean value
add(ImagePlacement fragment)
public void add(ImagePlacement fragment)
Adds the text fragment element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
fragment | ImagePlacement | fragment Text fragment element to add. ImagePlacement instance |
iterator()
public System.Collections.IEnumerator<ImagePlacement> iterator()
Returns an enumerator for the entire collection.
Returns: com.aspose.ms.System.Collections.IEnumerator<com.aspose.pdf.ImagePlacement> - Enumerator object.
copyTo(ImagePlacement[] array, int index)
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
Parameters:
Parameter | Type | Description |
---|---|---|
array | ImagePlacement[] | Array of objects which will be copied. |
index | int | Starting index from which copying will be started. |
clear()
public void clear()
Clears all items from the collection.
contains(ImagePlacement item)
public boolean contains(ImagePlacement item)
Determines whether the collection contains a specific value.
Parameters:
Parameter | Type | Description |
---|---|---|
item | ImagePlacement | The object to locate in the collection |
Returns: boolean - true if item is found in the collection; otherwise, false.
remove(ImagePlacement item)
public boolean remove(ImagePlacement item)
Deletes specified item from collection
Parameters:
Parameter | Type | Description |
---|---|---|
item | ImagePlacement | Item to delete |
Returns: boolean - true if item was deleted; otherwise, false.
get_Item(int index)
public ImagePlacement get_Item(int index)
Gets the text fragment element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of image placement. |
Returns: ImagePlacement - ImagePlacement object.