Quantcast
Channel: npoi Discussions Rss Feed
Viewing all articles
Browse latest Browse all 637

New Post: ICellStyle FillForegroundColor issues

$
0
0
Hi, We are newly started using NPOI components.
We are having issues to set FillForegroundColor of ICellStyle property.

ICellStyle HeaderCellStyle = xssfworkbook.CreateCellStyle();
HeaderCellStyle.FillForegroundColor = NPOI.HSSF.Util.HSSFColor.RED.index;
FillForegroundColor expects of type short.

How do we set a different color rather than using colors in HSSFColor.
We need to set to "#BE4E5E" and how do we do that for ICellStyle property FillForegroundColor

Colud someone help us by some example?

Viewing all articles
Browse latest Browse all 637

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>