Style.SetPatternColor
Style.SetPatternColor method
Sets the background color.
public void SetPatternColor(BackgroundType pattern, Color color1, Color color2)
Parameter | Type | Description |
---|---|---|
pattern | BackgroundType | The pattern. |
color1 | Color | The foreground color. |
color2 | Color | The background color. Only works when pattern is not BackgroundType.None and BackgroundType.Solid. |
See Also
- enum BackgroundType
- class Style
- namespace Aspose.Cells
- assembly Aspose.Cells