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

# PageMarginsModel

## Overview

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

Represents page margins model.

This class declares 12 methods for PageMarginsModel objects in C++ programs.
Available methods include: `GetBottom`, `GetFooter`, `GetHeader`, `GetLeft`, `GetRight`, `GetTop`, `SetBottom`, `SetFooter`, `SetHeader`, `SetLeft`, `SetRight`, `SetTop`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetLeft()` → `double` | Gets or sets the left. |
| `SetLeft(value: double)` | Sets the left value. |
| `GetRight()` → `double` | Gets or sets the right. |
| `SetRight(value: double)` | Sets the right value. |
| `GetTop()` → `double` | Gets or sets the top. |
| `SetTop(value: double)` | Sets the top value. |
| `GetBottom()` → `double` | Gets or sets the bottom. |
| `SetBottom(value: double)` | Sets the bottom value. |
| `GetHeader()` → `double` | Gets or sets the header. |
| `SetHeader(value: double)` | Sets the header value. |
| `GetFooter()` → `double` | Gets or sets the footer. |
| `SetFooter(value: double)` | Sets the footer value. |

## See Also

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