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

# WorksheetDefinedNamesState

## Overview

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

Stores the defined names state for a worksheet (print area, title rows, title columns).

This class declares 6 methods for WorksheetDefinedNamesState objects in C++ programs.
Available methods include: `GetPrintArea`, `GetPrintTitleColumns`, `GetPrintTitleRows`, `SetPrintArea`, `SetPrintTitleColumns`, `SetPrintTitleRows`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetPrintArea()` → `std::string` | Gets or sets the print area. |
| `SetPrintArea(value: std::string)` | Sets the print area value. |
| `GetPrintTitleRows()` → `std::string` | Gets or sets the print title rows. |
| `SetPrintTitleRows(value: std::string)` | Sets the print title rows value. |
| `GetPrintTitleColumns()` → `std::string` | Gets or sets the print title columns. |
| `SetPrintTitleColumns(value: std::string)` | Sets the print title columns value. |

## See Also

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