## SeriesCollection::SwapSeries method


Directly changes the orders of the two series.

```cpp
void Aspose::Cells::Charts::SeriesCollection::SwapSeries(int32_t sourceIndex, int32_t destIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| sourceIndex | int32_t | The current index |
| destIndex | int32_t | The dest index |

## See Also

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