## RangeCollection::AddRange method


Adds a [Range](../../range/) item to the collection.

```cpp
int32_t Aspose::Cells::RangeCollection::AddRange(const Range &range)
```


| Parameter | Type | Description |
| --- | --- | --- |
| range | const Range\& | the range to be added |

## ReturnValue

index of the added range in this collection

## See Also

* Class [Vector](../../vector/)
* Class [Range](../../range/)
* Class [RangeCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
