Aspose::Cells::Style::SetPatternColor method
Style::SetPatternColor method
Sets the background color.
void Aspose::Cells::Style::SetPatternColor(BackgroundType pattern, const Aspose::Cells::Color &color1, const Aspose::Cells::Color &color2)
Parameter | Type | Description |
---|---|---|
pattern | BackgroundType | The pattern. |
color1 | const Aspose::Cells::Color& | The foreground color. |
color2 | const Aspose::Cells::Color& | The background color. Only works when pattern is not BackgroundType.None and BackgroundType.Solid. |
See Also
- Class Vector
- Enum BackgroundType
- Class Style
- Namespace Aspose::Cells
- Library Aspose.Cells for C++