i am running into issue for setting ForegroundColor
see line below …
Aspose.Cells.Style style = new Aspose.Cells.Style();
style.ForegroundColor = Color.Pink;
it give me error…right after i assign color.
‘style.ForegroundColor’ threw an exception of type ‘System.NullReferenceException’
it is state source from Aspose.Cells
at Aspose.Cells.Style.get_ForegroundColor()can someone provide me some solution?