## ReferredArea::GetValues() method


Gets cell values in this area.

```cpp
Aspose::Cells::Object Aspose::Cells::ReferredArea::GetValues()
```


## ReturnValue

If this area is invalid, "#REF!" will be returned; If this area is one single cell, then return the cell value object; Otherwise return one 2D array for all values in this area.

## See Also

* Class [Object](../../object/)
* Class [ReferredArea](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## ReferredArea::GetValues(bool) method


Gets cell values in this area.

```cpp
Aspose::Cells::Object Aspose::Cells::ReferredArea::GetValues(bool calculateFormulas)
```


| Parameter | Type | Description |
| --- | --- | --- |
| calculateFormulas | bool | In this range, if there are some formulas that have not been calculated, this flag denotes whether those formulas should be calculated recursively |

## ReturnValue

If this area is invalid, "#REF!" will be returned; If this area is one single cell, then return the cell value object; Otherwise return one 2D array for all values in this area.

## See Also

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