StyleSetPatternColor Method

Sets the background color.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.4.0.0 (20.4)
Syntax
public void SetPatternColor(
	BackgroundType pattern,
	Color color1,
	Color color2
)

Parameters

pattern
Type: Aspose.CellsBackgroundType
The pattern.
color1
Type: System.DrawingColor
The forground color.
color2
Type: System.DrawingColor
The background color. Only works when pattern is not BackgroundType.None and BackgroundType.Solid.
See Also