-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
var headerFont = workbook.CreateFont() as XSSFFont;
headerFont.IsBold = true;
headerFont.FontHeight = 11;
headerFont.SetColor(new XSSFColor(Color.White));
var headerStyle = workbook.CreateCellStyle() as XSSFCellStyle;
headerStyle.SetFont(headerFont);
headerStyle.FillPattern = FillPattern.SolidForeground;
headerStyle.SetFillForegroundColor(new XSSFColor(Color.Black));
this code make XLSX with xml error
How i can to make cell with black background and bolded text with white color? I wont to use this as "cell header".
Metadata
Metadata
Assignees
Labels
No labels