Aspose::Cells::Charts::TrendlineCollection::Add method

TrendlineCollection::Add(TrendlineType) method

Adds a Trendline object to this collection with specified type.

int32_t Aspose::Cells::Charts::TrendlineCollection::Add(TrendlineType type)
ParameterTypeDescription
typeTrendlineTypeTrendline type.

ReturnValue

Trendline object index.

See Also

TrendlineCollection::Add(TrendlineType, const U16String&) method

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

int32_t Aspose::Cells::Charts::TrendlineCollection::Add(TrendlineType type, const U16String &name)
ParameterTypeDescription
typeTrendlineTypeTrendline type.
nameconst U16String&Trendline name.

ReturnValue

Trendline object index.

See Also

TrendlineCollection::Add(TrendlineType, const char16_t*) method

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

int32_t Aspose::Cells::Charts::TrendlineCollection::Add(TrendlineType type, const char16_t *name)
ParameterTypeDescription
typeTrendlineTypeTrendline type.
nameconst char16_t*Trendline name.

ReturnValue

Trendline object index.

See Also