We recently started using NPOI components.
We are having problems setting the FillForegroundColor property of the ICellStyle property.
ICellStyle HeaderCellStyle = xssfworkbook.CreateCellStyle(); HeaderCellStyle.FillForegroundColor = NPOI.HSSF.Util.HSSFColor.RED.index;
FillForegroundColor expects a short type.
How to set a different color, rather than using colors in HSSFColor.
We need to set "RGB192:0:0" and how to do it for the ICellStyle FillForegroundColor property
Can someone help us in some example?
Sivarajini
source share