We noticed an issue recently with Aspose providing the wrong row height for certain rows.
Please paste the following code into a console app of some sort while replacing the empty string in the first line with the filepath of the test file attached below:
var workbook = new Aspose.Cells.Workbook(@""); var driversworksheet = workbook.Worksheets["Drivers"]; var firstRow = driversworksheet.Cells.GetRowHeight(1); var secondRow = driversworksheet.Cells.GetRowHeight(2); Console.WriteLine("Height of first row is: " + firstRow); Console.WriteLine("Height of second row is: " + secondRow); Console.ReadKey();
In the attached zip file, you will find a test workbook. When you run the program above, you’ll see that it outputs what Aspose thinks is the height of the first two rows. However, if you open up the test model and look at the actual rows, you’ll find that the first row’s row height was not read properly.
Please let me know if you have any questions, thank you!
TestModel.zip (42.5 KB)