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

# PrintOptionsModel

## Overview

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

Represents print options model.

This class declares 8 methods for PrintOptionsModel objects in C++ programs.
Available methods include: `GetGridLines`, `GetHeadings`, `GetHorizontalCentered`, `GetVerticalCentered`, `SetGridLines`, `SetHeadings`, `SetHorizontalCentered`, `SetVerticalCentered`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetGridLines()` → `bool` | Gets or sets a value indicating whether grid lines. |
| `SetGridLines(value: bool)` | Sets the grid lines value. |
| `GetHeadings()` → `bool` | Gets or sets a value indicating whether headings. |
| `SetHeadings(value: bool)` | Sets the headings value. |
| `GetHorizontalCentered()` → `bool` | Gets or sets a value indicating whether horizontal centered. |
| `SetHorizontalCentered(value: bool)` | Sets the horizontal centered value. |
| `GetVerticalCentered()` → `bool` | Gets or sets a value indicating whether vertical centered. |
| `SetVerticalCentered(value: bool)` | Sets the vertical centered value. |

## See Also

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