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

Free Support Forum - aspose.com

Style.ForegroundColor does not seem to work with version 4.8.2


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.


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

Thank You & Best Regards,