I upgraded Aspose.Cells from 18.5.1 to 18.9.0 today and found some extra elements appeared in the re-saved workbook even if I didn’t change anything.
var workbook = new Workbook(@"test.xlsx"); var test = workbook.Worksheets.Charts.CategoryAxis.MajorGridLines.IsVisible; // just access the visibility workbook.Save(@"output.xlsx");
The major grid lines became visible in the output even if ‘test’ variable is false.
I also tried:
var workbook = new Workbook(@“test.xlsx”);
workbook.Worksheets.Charts.CategoryAxis.MajorGridLines.IsVisible = false;
And I still saw the major grid lines in the output.
image.png (149.2 KB)
This issue didn’t happen with Aspose.Cells 18.5.1.
I’ve attache the test files and output files from both versions for your reference. Could you please help me check this issue?
test.zip (247.7 KB)