##  set_pattern_color(self, pattern, color1, color2) {#aspose.cells.BackgroundType-aspose.pydrawing.Color-aspose.pydrawing.Color}
Legt die Hintergrundfarbe fest.



```python

def set_pattern_color(self, pattern, color1, color2):
    ...
```


| Parameter| Typ| Beschreibung|
| :- | :- | :- |
| pattern | [`BackgroundType`](/cells/python-net/de/aspose.cells/backgroundtype) | Das Muster.|
| color1 | aspose.pydrawing.Color | Die Vordergrundfarbe.|
| color2 | aspose.pydrawing.Color | Die Hintergrundfarbe. Funktioniert nur, wenn das Muster nicht BackgroundType.None und BackgroundType.Solid ist.|



###  Siehe auch
* Modul [`aspose.cells`](../../)
* Klasse [`Style`](/cells/python-net/de/aspose.cells/style)
