DrawingGuidesCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IDrawingGuidesCollection

public final class DrawingGuidesCollection implements IDrawingGuidesCollection

Represents a collection of the adjustable drawing guides.

Methods

MethodDescription
get_Item(int index)Returns the drawing guide by index.
add(byte orientation, float position)Adds the drawing guide at the end of the collection.
removeAt(int index)Removes the drawing guide at the specified index.
clear()Removes all elements from the collection.
iterator()Returns an enumerator that iterates through the collection.
iteratorJava()Returns a java iterator for the entire collection.
getCount()Returns the number of elements in the collection.
copyTo(IDrawingGuide[] array, int index)Copies all elements from the collection to the specified array.

get_Item(int index)

public final IDrawingGuide get_Item(int index)

Returns the drawing guide by index. Read-only IDrawingGuide.

Parameters:

ParameterTypeDescription
indexint

Returns: IDrawingGuide

add(byte orientation, float position)

public final IDrawingGuide add(byte orientation, float position)

Adds the drawing guide at the end of the collection.

Parameters:

ParameterTypeDescription
orientationbyteOrientation of the drawing guide.
positionfloatPosition of the the drawing guide in points.

Returns: IDrawingGuide

removeAt(int index)

public final void removeAt(int index)

Removes the drawing guide at the specified index.

Parameters:

ParameterTypeDescription
indexintIndex of the drawing guide that should be deleted.

clear()

public final void clear()

Removes all elements from the collection.

iterator()

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

Returns an enumerator that iterates through the collection.

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

iteratorJava()

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

Returns a java iterator for the entire collection.

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

getCount()

public final int getCount()

Returns the number of elements in the collection. Read-only int.

Returns: int

copyTo(IDrawingGuide[] array, int index)

public final void copyTo(IDrawingGuide[] array, int index)

Copies all elements from the collection to the specified array.

Parameters:

ParameterTypeDescription
arrayIDrawingGuide[]Target array.
indexintStarting index in the target array.