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: 21.6.0.0 (21.6)
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