`
chenhongquan
  • 浏览: 43161 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

poi 自定义字体颜色

 
阅读更多

 int[] rgb = new int[]{127,127,127};
   HSSFPalette palette = wb.getCustomPalette();
      palette.setColorAtIndex(HSSFColor.BLACK.index,(byte)rgb[0], (byte)rgb[1], (byte)rgb[2]);
  

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics