## Legend::GetLegendEntries method


Gets a collection of all the [LegendEntry](../../legendentry/) objects in the specified chart legend. Setting the legend entries of the surface chart is not supported. So it will return null if the chart type is surface chart type.

```cpp
LegendEntryCollection Aspose::Cells::Charts::Legend::GetLegendEntries()
```

## See Also

* Class [LegendEntryCollection](../../legendentrycollection/)
* Class [Legend](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
