We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How Can i find weather my Cell is already have Color or not

Hi,
I am trying to find weather my cell is Having color or not.

Cell cell2=cells.getCell(row,column);
Style style = cells.getCell(row,column).getStyle();
style.setColor(Color.PURPLE);



Hi,

If you want to get foreground color or background color, then try theses.

Foreground Color: Style.getColor()
Background Color: Style.getPatternColor()