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

# FillValue

## Overview

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

Represents fill value.

This class declares 7 methods for FillValue objects in C++ programs.
Available methods include: `FillValue`, `GetBackgroundColor`, `GetForegroundColor`, `GetPattern`, `SetBackgroundColor`, `SetForegroundColor`, `SetPattern`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `FillValue()` | Initializes a new instance of the class. |
| `GetPattern()` → `Core::FillPatternKind` | Gets or sets the pattern. |
| `SetPattern(value: Core::FillPatternKind)` | Sets the pattern value. |
| `GetForegroundColor()` → `Core::ColorValue` | Gets or sets the foreground color. |
| `SetForegroundColor(value: Core::ColorValue)` | Sets the foreground color value. |
| `GetBackgroundColor()` → `Core::ColorValue` | Gets or sets the background color. |
| `SetBackgroundColor(value: Core::ColorValue)` | Sets the background color value. |

## See Also

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