## PatternFill class


Encapsulates the object that represents pattern fill format.

```cpp
class PatternFill
```

## Methods

| Method | Description |
| --- | --- |
| [GetBackgroundCellsColor()](./getbackgroundcellscolor/) | Gets and sets the foreground [CellsColor](../../aspose.cells/cellscolor/) object. |
| [GetBackgroundColor()](./getbackgroundcolor/) | Gets or sets the background [Color](../../aspose.cells/color/) of the [Area](../area/). |
| [GetBackTransparency()](./getbacktransparency/) | Gets or sets the transparency of background color. |
| [GetForegroundCellsColor()](./getforegroundcellscolor/) | Gets and sets the foreground [CellsColor](../../aspose.cells/cellscolor/) object. |
| [GetForegroundColor()](./getforegroundcolor/) | Gets or sets the foreground [Color](../../aspose.cells/color/). |
| [GetForeTransparency()](./getforetransparency/) | Gets or sets the transparency of foreground color. |
| [GetPattern()](./getpattern/) | Gets or sets the fill pattern type. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const PatternFill\& src)](./operator_asm/) | operator= |
| [PatternFill(PatternFill_Impl* impl)](./patternfill/) | Constructs from an implementation object. |
| [PatternFill(const PatternFill\& src)](./patternfill/) | Copy constructor. |
| [SetBackgroundCellsColor(const CellsColor\& value)](./setbackgroundcellscolor/) | Gets and sets the foreground [CellsColor](../../aspose.cells/cellscolor/) object. |
| [SetBackgroundColor(const Aspose::Cells::Color\& value)](./setbackgroundcolor/) | Gets or sets the background [Color](../../aspose.cells/color/) of the [Area](../area/). |
| [SetBackTransparency(double value)](./setbacktransparency/) | Gets or sets the transparency of background color. |
| [SetForegroundCellsColor(const CellsColor\& value)](./setforegroundcellscolor/) | Gets and sets the foreground [CellsColor](../../aspose.cells/cellscolor/) object. |
| [SetForegroundColor(const Aspose::Cells::Color\& value)](./setforegroundcolor/) | Gets or sets the foreground [Color](../../aspose.cells/color/). |
| [SetForeTransparency(double value)](./setforetransparency/) | Gets or sets the transparency of foreground color. |
| [SetPattern(FillPattern value)](./setpattern/) | Gets or sets the fill pattern type. |
| [~PatternFill()](./~patternfill/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells::Drawing](../)
* Library [Aspose.Cells for C++](../../)
