我怎样才能设置使用NPOI C#的Excel表行的gradiant背景?

这里我创build一个样式,但它不工作,它只有一些像固体或虚线等背景,所以我如何设置渐变背景? 这里只有一个样式表我怎样才能设置渐变背景?

ICellStyle tablestyle = sheet.Workbook.CreateCellStyle(); tablestyle.FillForegroundColor = IndexedColors.Blue.Index; tablestyle.FillPattern = FillPattern.AltBars;