Partial Formatting of Cells

Aspose Team,


I cannot figure out how to change the entire cell contents to black. I have tried the following:

newStyle.Font.Color = System.Drawing.Color.Black;
newStyle.BackgroundColor = System.Drawing.Color.White;
StyleFlag styleFlag = new StyleFlag();
styleFlag.CellShading = true;
styleFlag.FontColor = true;
wb.Worksheets[sheetNum].Cells.ApplyStyle(newStyle, styleFlag);

and

for (int k = 0; k < wb.Styles.Count; k++ )
{
Style s = wb.Styles[k];
s.Font.Color = System.Drawing.Color.Black;
s.BackgroundColor = System.Drawing.Color.White;
s.Update();
}


It seems like partially formatted cells are acting differently.

Thanks in advance


Hi,

I have found the issue regarding existing richly formatted cells. It works fine with other cells. I have logged an issue with an id: CELLSNET-23710 . We will figure your issue out soon.

Thank you.

Hi deanbarnes,

We have fixed this issue. Please download the Aspose.Cells for .NET 5.2.2.1

The issues you have found earlier (filed as 23710) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.