1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > poi设置excel单元格背景色

poi设置excel单元格背景色

时间:2022-06-06 22:54:49

相关推荐

poi设置excel单元格背景色

poi任意设置excel单元格背景色

Cell cell = sheet.createRow(0).createCell(0);XSSFCellStyle cellStyle = (XSSFCellStyle)cell.getCellStyle();cellStyle.setFillForegroundColor(new XSSFColor(new java.awt.Color(221, 235, 247)));cellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。