Style.ForegroundColor does not seem to work with version 4.8.2

Hi,

I am using Style.ForegroundColor to set the color for a cell, and it was working fine till a few days back. But now it has stopped working. I believe we upgraded Aspose.Cells to version 4.8.2. Does this property not work with 4.8.2, or has the syntax changed? Please advise.

Thanks, Sreejith

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please make sure you set the Style.Pattern property too when setting Style.ForegroundColor property. Please see the following documentation link in this regard.

http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/colors-background-patterns.html

If you still face any problem, please share your sample code here and we will check it soon.

Thank You & Best Regards,