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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
index | int |
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:
Parameter | Type | Description |
---|---|---|
orientation | byte | Orientation of the drawing guide. |
position | float | Position 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:
Parameter | Type | Description |
---|---|---|
index | int | Index 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:
Parameter | Type | Description |
---|---|---|
array | IDrawingGuide[] | Target array. |
index | int | Starting index in the target array. |