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

# ColumnRangeModel

## Overview

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

Represents column range model.

This class declares 10 methods for ColumnRangeModel objects in C++ programs.
Available methods include: `GetHidden`, `GetMaxColumnIndex`, `GetMinColumnIndex`, `GetStyleIndex`, `GetWidth`, `SetHidden`, `SetMaxColumnIndex`, `SetMinColumnIndex`, `SetStyleIndex`, `SetWidth`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetMinColumnIndex()` → `int` | Gets or sets the min column index. |
| `SetMinColumnIndex(value: int)` | Sets the min column index value. |
| `GetMaxColumnIndex()` → `int` | Gets or sets the max column index. |
| `SetMaxColumnIndex(value: int)` | Sets the max column index value. |
| `GetWidth()` → `std::optional<double>` | Gets or sets the width. |
| `SetWidth(value: std::optional<double>)` | Sets the width 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/)