We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Large font cell value setting text vertical alignment is invalid

In Excel, the cell value is set to large font, and even the vertical alignment of the cell value text is bottom alignment or top alignment. It is found that the vertical alignment is inconsistent with the effect in Excel after being converted to html, and the top alignment or bottom alignment is actually invalid
image.png (29.0 KB)

image.png (32.0 KB)

this is my excel:EPPR_58993.zip (60.2 KB)

this is my code:

Workbook workbook = new Workbook("D://Aspose//EPPR_58993//EPPR_58993.xlsx");
workbook.save("D://Aspose//EPPR_58993//output/EPPR_58993_882.html",  SaveFormat.HTML);

The output html data style is correct, and errors should be caused by browser rendering. If you export file to html using MS-Excel, you will get the same result. Please check the attachment.image.png (79.1 KB)