TrendlineCollection
Inheritance: java.lang.Object, com.aspose.slides.DomObject
All Implemented Interfaces: com.aspose.slides.ITrendlineCollection
public class TrendlineCollection extends DomObject<ChartSeries> implements ITrendlineCollection
Represents a collection of Trendline
Methods
Method | Description |
---|---|
get_Item(int index) | Gets the element at the specified index. |
add(int trendlineType) | Adds the new Trendline at the end of a collection and return it. |
remove(ITrendline value) | Removes the specified value. |
iterator() | Returns an enumerator that iterates through the collection. |
iteratorJava() | Returns a java iterator for the entire collection. |
getCount() | Gets the number of elements actually contained in the collection. |
get_Item(int index)
public final ITrendline get_Item(int index)
Gets the element at the specified index. Read-only Trendline.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: ITrendline
add(int trendlineType)
public final ITrendline add(int trendlineType)
Adds the new Trendline at the end of a collection and return it.
Parameters:
Parameter | Type | Description |
---|---|---|
trendlineType | int |
Returns: ITrendline
remove(ITrendline value)
public final void remove(ITrendline value)
Removes the specified value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ITrendline |
iterator()
public final System.Collections.Generic.IGenericEnumerator<ITrendline> iterator()
Returns an enumerator that iterates through the collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ITrendline> - A IGenericEnumerator that can be used to iterate through the collection.
iteratorJava()
public final System.Collections.Generic.IGenericEnumerator<ITrendline> iteratorJava()
Returns a java iterator for the entire collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ITrendline> - An java.util.Iterator for the entire collection.
getCount()
public final int getCount()
Gets the number of elements actually contained in the collection. Read-only int.
Returns: int