Cell background color problem

Hello,

i got this code :

Cell c = table.getCell(0, 0);
FillFormat fillFormat = c.getFillFormat();
fillFormat.setForeColor(Color.RED);
fillFormat.setType(FillType.SOLID);

But the cell isn’t red and i don’t see why…

Thanks.

PS: I’m using evaluation version for the moment, is it a restriction ?

Dear Spypunk,

Thanks for considering Aspose.Slides.

Please change your code like this

Cell c = table.getCell(0, 0);
FillFormat fillFormat = c.getFillFormat();
fillFormat.setType(FillType.SOLID);
fillFormat.setForeColor(Color.RED);