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)
ParameterTypeDescription
patternBackgroundTypeThe pattern.
color1const Aspose::Cells::Color&The foreground color.
color2const Aspose::Cells::Color&The background color. Only works when pattern is not BackgroundType.None and BackgroundType.Solid.

See Also