---
title: "Aspose::Cells::Charts::TrendlineCollection::Get method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.charts/trendlinecollection/get/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Charts::TrendlineCollection::Get method. Gets a Trendline object by its index in C++."
---

## TrendlineCollection::Get method


Gets a [Trendline](../../trendline/) object by its index.

```cpp
Trendline Aspose::Cells::Charts::TrendlineCollection::Get(int32_t index)
```

## See Also

* Class [Trendline](../../trendline/)
* Class [Vector](../../../aspose.cells/vector/)
* Class [TrendlineCollection](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
