---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/cellarea
---

# CellArea

## Overview

`CellArea` is a class in Aspose.Cells FOSS for C++.

Represents cell area.

This class declares 7 methods for CellArea objects in C++ programs.
Available methods include: `CellArea`, `CreateCellArea`, `GetFirstColumn`, `GetFirstRow`, `GetTotalColumns`, `GetTotalRows`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `CellArea()` | Initializes a new instance of the class. |
| `GetFirstRow()` → `int` | Gets the first row. |
| `GetFirstColumn()` → `int` | Gets the first column. |
| `GetTotalRows()` → `int` | Gets the total rows. |
| `GetTotalColumns()` → `int` | Gets the total columns. |
| `CreateCellArea(startRow: int, startColumn: int, endRow: int, endColumn: int)` → `CellArea` | Creates the cell area. The start row. The start column. The end row. The end column. The cell area. |
| `CreateCellArea(startCellName: std::string_view, endCellName: std::string_view)` → `CellArea` | Creates the cell area. The start cell reference. The end cell reference. The cell area. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)