TrendlineCollectionAdd Method (TrendlineType, String)

Adds a object to this collection with specified type and name.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public int Add(
	TrendlineType type,
	string name
)

Parameters

type
Type: Aspose.Cells.ChartsTrendlineType
Trendline type.
name
Type: SystemString
Trendline name.

Return Value

Type: Int32
Trendline object index.
See Also