## Style.SetPatternColor method

Ställer in bakgrundsfärgen.

```csharp
public void SetPatternColor(BackgroundType pattern, Color color1, Color color2)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| pattern | BackgroundType | Mönstret. |
| color1 | Color | Förgrundsfärgen. |
| color2 | Color | Bakgrundsfärgen. Fungerar bara när mönstret inte är BackgroundType.None och BackgroundType.Solid. |

### Se även

* enum [BackgroundType](../../backgroundtype)
* class [Style](../../style)
* namnutrymme [Aspose.Cells](../../style)
* hopsättning [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
