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

Free Support Forum - aspose.com

Alt Text in Images not Retained when Saved

Hi,

I have a spreadsheet that has alt texts in the images.

However, when I open it with Aspose and save it, the alt texts are lost. Is this a bug?

Code snippet:

var xlsfile = "C:\\ImagesWithAltTexts.xlsx";

var workbook = AsposeHelper.GetWorkbookFromTemplatePath(xlsfile);

var workbook = new Workbook();
workbook.Open("C:\\ImagesWithAltTexts.xlsx");

workbook.Save("C:\\ImageWithAltTexts_SavedByAspose.xlsx", SaveFormat.Xlsx);

I've attached the spreadsheet used in this test. Aspose.Cells 5.1.3.3 was used.

-Steve

Hi Steve,

We are unable to reproduce the issue mentioned by you. The Alternative Text is available as it should be. However, there is some other issue, which we found during testing. We have attached the screen shots for your consideration. We are working on it. We will update you about the solution soon. In the meanwhile, please use the attached latest version Aspose.Cells5.1.4.5.

Thanks,