## Style.SetPatternColor method

Arka plan rengini ayarlar.

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

| Parametre | Tip | Tanım |
| --- | --- | --- |
| pattern | BackgroundType | Desen. |
| color1 | Color | Ön plan rengi. |
| color2 | Color | Arka plan rengi. Yalnızca desen BackgroundType.None ve BackgroundType.Solid olmadığında çalışır. |

### Ayrıca bakınız

* enum [BackgroundType](../../backgroundtype)
* class [Style](../../style)
* ad alanı [Aspose.Cells](../../style)
* toplantı [Aspose.Cells](../../../)

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