## Range::UnionRang method


Returns the union result of two ranges.


>Deprecated
>
>Use Range.UnionRanges() instead. 
```cpp
Vector<Range> Aspose::Cells::Range::UnionRang(const Range &range)
```


| Parameter | Type | Description |
| --- | --- | --- |
| range | const Range\& | The range |

## ReturnValue

The union of two ranges.
## Remarks



NOTE: This method is now obsolete. Instead, please use [Range.UnionRanges()](../unionranges/) method. This method will be removed 12 months later since May 2024. **Aspose** apologizes for any inconvenience you may have experienced. 


## See Also

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