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

# HeaderFooterModel

## Overview

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

Represents header footer model.

This class declares 12 methods for HeaderFooterModel objects in C++ programs.
Available methods include: `GetCenterFooter`, `GetCenterHeader`, `GetLeftFooter`, `GetLeftHeader`, `GetRightFooter`, `GetRightHeader`, `SetCenterFooter`, `SetCenterHeader`, `SetLeftFooter`, `SetLeftHeader`, `SetRightFooter`, `SetRightHeader`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetLeftHeader()` → `std::string` | Gets or sets the left header. |
| `SetLeftHeader(value: std::string)` | Sets the left header value. |
| `GetCenterHeader()` → `std::string` | Gets or sets the center header. |
| `SetCenterHeader(value: std::string)` | Sets the center header value. |
| `GetRightHeader()` → `std::string` | Gets or sets the right header. |
| `SetRightHeader(value: std::string)` | Sets the right header value. |
| `GetLeftFooter()` → `std::string` | Gets or sets the left footer. |
| `SetLeftFooter(value: std::string)` | Sets the left footer value. |
| `GetCenterFooter()` → `std::string` | Gets or sets the center footer. |
| `SetCenterFooter(value: std::string)` | Sets the center footer value. |
| `GetRightFooter()` → `std::string` | Gets or sets the right footer. |
| `SetRightFooter(value: std::string)` | Sets the right footer value. |

## See Also

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