Is it possible to fill cells with gradient, with for example with two colors, using aspose.cells?
All examples I have found only shows how to fill backgrounds in charts. I want to do I nice background with gradient for the column headers in the excel sheet.How do I do that?
Is it also possible to do a gradient filling for the data bars in a chartType.Bars?
I also have problems with background colors . This should be a light gray but it will only be white in the excel:
Private Function GetStyleColumnHeaders(ByVal wb As Workbook) As Style
Dim cellStyle As Style = wb.Styles(wb.Styles.Add)
cellStyle.HorizontalAlignment = TextAlignmentType.Center
cellStyle.ForegroundColor = Drawing.Color.FromArgb(&HCC, &HCC, &HCC)
'cellStyle.ForegroundColor = Drawing.Color.LightGray
cellStyle.Pattern = BackgroundType.Solid
If I use the outcommented line (LightGray) I also only get a white background. Anybody knows why?