I try to set cell format using AsposeCell API (C#):
var cell = worksheet.Cells[i, j];
Style style = cell.GetStyle();
style.Number = 21;
var time = new TimeSpan(1, 2, 3);
This cell is displayed correctly, but has format: “all formats” (not “Time”). That is to say, style property did not work. What’s wrong?