LineFormatCollection

Inheritance: java.lang.Object, com.aspose.slides.DomObject

All Implemented Interfaces: com.aspose.slides.ILineFormatCollection

public final class LineFormatCollection extends DomObject<FormatScheme> implements ILineFormatCollection

Represents the collection of line styles.

Methods

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

get_Item(int index)

public final ILineFormat get_Item(int index)

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

Parameters:

ParameterTypeDescription
indexint

Returns: ILineFormat

iterator()

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

Returns an enumerator that iterates through the collection.

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

iteratorJava()

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

Returns a java iterator for the entire collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ILineFormat> - An java.util.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

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.

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