
## get_LegendItems {#get_legenditems}

Gets an array of PageLegendItem which define which bars should be rendered in page legend. If null, the default items are rendered.

**Returns:** const System::ArrayPtr<System::SharedPtr< Aspose::Tasks::Visualization::PageLegendItem > >& Aspose::Tasks::Saving::

```cpp
get_LegendItems()
```

