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

# RowModel

## Overview

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

Represents row model.

This class declares 6 methods for RowModel objects in C++ programs.
Available methods include: `GetHeight`, `GetHidden`, `GetStyleIndex`, `SetHeight`, `SetHidden`, `SetStyleIndex`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetHeight()` → `std::optional<double>` | Gets or sets the height. |
| `SetHeight(value: std::optional<double>)` | Sets the height value. |
| `GetHidden()` → `bool` | Gets or sets a value indicating whether hidden. |
| `SetHidden(value: bool)` | Sets the hidden value. |
| `GetStyleIndex()` → `std::optional<int>` | Gets or sets the style index. |
| `SetStyleIndex(value: std::optional<int>)` | Sets the style index value. |

## See Also

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