set_pattern_color method
set_pattern_color(self, pattern, color1, color2)
Sets the background color.
def set_pattern_color(self, pattern, color1, color2):
...
| Parameter | Type | Description |
|---|---|---|
| pattern | aspose.cells.BackgroundType | The pattern. |
| color1 | aspose.pydrawing.Color | The foreground color. |
| color2 | aspose.pydrawing.Color | The background color. Only works when pattern is not BackgroundType.None and BackgroundType.Solid. |
See Also
- module
aspose.cells - class
Style