TrendlineCollection.Add
Add(TrendlineType)
Adds a Trendline
object to this collection with specified type.
public int Add(TrendlineType type)
Parameter | Type | Description |
---|---|---|
type | TrendlineType | Trendline type. |
Return Value
Trendline
object index.
See Also
- enum TrendlineType
- class TrendlineCollection
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells
Add(TrendlineType, string)
Adds a Trendline
object to this collection with specified type and name.
public int Add(TrendlineType type, string name)
Parameter | Type | Description |
---|---|---|
type | TrendlineType | Trendline type. |
name | String | Trendline name. |
Return Value
Trendline
object index.
See Also
- enum TrendlineType
- class TrendlineCollection
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells