public final class GraphicElementCollection extends Object implements Iterable<GraphicElement>
Represents GraphicElement
collection.
Constructor and Description |
---|
GraphicElementCollection()
Initializes the new collection.
|
Modifier and Type | Method and Description |
---|---|
void |
add(GraphicElement item)
Adds a new
GraphicElement to the collection. |
void |
clear()
Clears the collection.
|
boolean |
contains(GraphicElement item)
Determines whether an element is in the collection.
|
void |
copyTo(GraphicElement[] array,
int arrayIndex)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
|
GraphicElement |
get_Item(int index)
Gets the
GraphicElement element at the specified index. |
boolean |
isReadOnly()
Gets a value indicating whether collection is read only.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator_Rename_Namesake()
Returns an enumerator for the entire collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<GraphicElement> |
iterator()
Returns an enumerator for the entire collection.
|
boolean |
remove(GraphicElement item)
Deletes the
GraphicElement element. |
int |
size()
Gets the number of
GraphicElement object elements actually contained in the collection. |
com.aspose.ms.System.Collections.Generic.List<GraphicElement> |
toList()
Returns the inner collection for unrestricted enumeration.
|
String |
toString()
Gets a string representation of this collection.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public GraphicElementCollection()
Initializes the new collection.
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<GraphicElement> iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<GraphicElement>
public final com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
Returns an enumerator for the entire collection.
public final void add(GraphicElement item)
Adds a new GraphicElement
to the collection.
All items in the collection must have the same GraphicElement.Parent
(GraphicElement.getParent()
).
item
- IGraphicElement.public final void clear()
Clears the collection.
public final boolean contains(GraphicElement item)
Determines whether an element is in the collection.
item
- GraphicElement
to search.public final void copyTo(GraphicElement[] array, int arrayIndex)
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.arrayIndex
- Starting index from which copying will be started.public final boolean remove(GraphicElement item)
Deletes the GraphicElement
element.
item
- GraphicElement
object that will be deleted.public final int size()
Gets the number of GraphicElement
object elements actually contained in the collection.
public final com.aspose.ms.System.Collections.Generic.List<GraphicElement> toList()
Returns the inner collection for unrestricted enumeration.
public String toString()
Gets a string representation of this collection.
public final GraphicElement get_Item(int index)
Gets the GraphicElement
element at the specified index.
index
- Index within the collection.GraphicElement
.public final boolean isReadOnly()
Gets a value indicating whether collection is read only. Always returns false.
Copyright © 2023 Aspose. All Rights Reserved.