public final class DrawingGuidesCollection extends java.lang.Object implements IDrawingGuidesCollection
Represents a collection of the adjustable drawing guides.
| Modifier and Type | Method and Description |
|---|---|
IDrawingGuide |
add(byte orientation,
float position)
Adds the drawing guide at the end of the collection.
|
void |
clear()
Removes all elements from the collection.
|
void |
copyTo(IDrawingGuide[] array,
int index)
Copies all elements from the collection to the specified array.
|
IDrawingGuide |
get_Item(int index)
Returns the drawing guide by index.
|
int |
getCount()
Returns the number of elements in the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IDrawingGuide> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IDrawingGuide> |
iteratorJava()
Returns a java iterator for the entire collection.
|
void |
removeAt(int index)
Removes the drawing guide at the specified index.
|
public final IDrawingGuide get_Item(int index)
Returns the drawing guide by index.
Read-only IDrawingGuide.
get_Item in interface IDrawingGuidesCollectionpublic final IDrawingGuide add(byte orientation, float position)
Adds the drawing guide at the end of the collection.
add in interface IDrawingGuidesCollectionorientation - Orientation of the drawing guide.position - Position of the the drawing guide in points.public final void removeAt(int index)
Removes the drawing guide at the specified index.
removeAt in interface IDrawingGuidesCollectionindex - Index of the drawing guide that should be deleted.public final void clear()
Removes all elements from the collection.
clear in interface IDrawingGuidesCollectionpublic final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IDrawingGuide> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IDrawingGuide>iterator in interface com.aspose.ms.System.Collections.IEnumerable<IDrawingGuide>iterator in interface java.lang.Iterable<IDrawingGuide>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IDrawingGuide> iteratorJava()
Returns a java iterator for the entire collection.
Iterator for the entire collection.public final int getCount()
Returns the number of elements in the collection. Read-only int.
getCount in interface IDrawingGuidesCollectionpublic final void copyTo(IDrawingGuide[] array, int index)
Copies all elements from the collection to the specified array.
array - Target array.index - Starting index in the target array.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.