ITrendlineCollection

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericEnumerable

public interface ITrendlineCollection extends System.Collections.Generic.IGenericEnumerable<ITrendline>

Represents a collection of TrendlineEx

Methods

MethodDescription
get_Item(int index)Gets the element at the specified index.
getCount()Gets the number of elements actually contained in the collection.
add(int trendlineType)Adds the new Trendline at the end of a collection and return it.
remove(ITrendline value)Removes the specified value.

get_Item(int index)

public abstract ITrendline get_Item(int index)

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

Parameters:

ParameterTypeDescription
indexint

Returns: ITrendline

getCount()

public abstract int getCount()

Gets the number of elements actually contained in the collection. Read-only int.

Returns: int

add(int trendlineType)

public abstract ITrendline add(int trendlineType)

Adds the new Trendline at the end of a collection and return it.

Parameters:

ParameterTypeDescription
trendlineTypeintTrendline type TrendlineType

Returns: ITrendline - New Trendline ITrendline

remove(ITrendline value)

public abstract void remove(ITrendline value)

Removes the specified value.

Parameters:

ParameterTypeDescription
valueITrendlineTrendline to remove ITrendline