2
如何使用npoi设置cell backgroudn
中的RGB颜色xssfworkbook
使用npoi?如何在字体中设置RGB颜色使用xssfworkbook npoi
byte[] rgb = new byte[3] { 192, 50, 90 };
XSSFCellStyle HeaderCellStyle1 = (XSSFCellStyle)wb.CreateCellStyle();
HeaderCellStyle1.SetFillForegroundColor(new XSSFColor(new Color(255, 255, 255)));
我不想使用此模式:
titlestyle.BottomBorderColor = IndexedColors.Grey25Percent.Index;