How to use a gradient fill (GradientFill) with ClosedXML
I'm working on a C#/ASP.NET web thing and want to do an Excel export. First I found OpenXML, made some first steps, but it's really hard to use. Now, I'm using ClosedXML and it's quite a relief - so far. I came up with the problem to have a gradient fill on a table cell ... no problem with normal fills like worksheet.Cell(1,1).Style.Fill.SetBackgroundColor(XLColor.Red); or with Patterns like worksheet.Cell(1,1).Style.Fill.PatternType = XLFillPatternValues.LightHorizontal; worksheet.Cell(1,1).Style.Fill.PatternColor = XLColor.Green; worksheet.Cell(1,1).Style.Fill.PatternBackgroundColor =