SmartArtShapeCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ISmartArtShapeCollection

public class SmartArtShapeCollection implements ISmartArtShapeCollection

Represents a collection of a SmartArt shapes

Methods

MethodDescription
size()Gets the number of elements actually contained in the collection.
get_Item(int index)Gets the element at the specified index.
isSynchronized()Returns a value indicating whether access to the collection is synchronized (thread-safe).
getSyncRoot()Returns a synchronization root.
copyTo(System.Array array, int index)Copies all elements from the collection to the specified array.
iterator()Returns an enumerator that iterates through the collection.
iteratorJava()Returns a java iterator for the entire collection.

size()

public final int size()

Gets the number of elements actually contained in the collection. Read-only int.

Returns: int

get_Item(int index)

public final ISmartArtShape get_Item(int index)

Gets the element at the specified index. Read-only SmartArtShape.

Parameters:

ParameterTypeDescription
indexintIndex of shape

Returns: ISmartArtShape - The SmartArt shape

isSynchronized()

public final boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean

getSyncRoot()

public final Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Returns: java.lang.Object

copyTo(System.Array array, int index)

public final void copyTo(System.Array array, int index)

Copies all elements from the collection to the specified array.

Parameters:

ParameterTypeDescription
arraycom.aspose.ms.System.ArrayTarget array.
indexintStarting index in the target array.

iterator()

public final System.Collections.Generic.IGenericEnumerator<ISmartArtShape> iterator()

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ISmartArtShape> - A IGenericEnumerator that can be used to iterate through the collection.

iteratorJava()

public final System.Collections.Generic.IGenericEnumerator<ISmartArtShape> iteratorJava()

Returns a java iterator for the entire collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ISmartArtShape> - An java.util.Iterator for the entire collection.