Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Nov 11, 2019 2:01 pm

Hello!

I have a picture in my excel file. I write a title in the AlternativeText, but the AlternativeTextTitle and the AlternativeText is always empty.

error ITP.png
error ITP.png (126.16 KiB) Viewed 2794 times


Can you help me, please?

Thank you very much!

LauraNM
 
Posts: 77
Joined: Tue Feb 19, 2019 1:23 pm

Tue Nov 12, 2019 3:26 am

Hi,

Thanks for your inquiry.
I made an initial test with Spire.Office Platinum (DLL Only) Version:4.10.0 and did notice the issue. I have logged it into our bug tracking system. Once there is any progress, we will inform you. Sorry for the inconvenience caused.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Nov 12, 2019 7:27 am

Thank very much! It is very important for me.

Regards,

LauraNM
 
Posts: 77
Joined: Tue Feb 19, 2019 1:23 pm

Tue Nov 12, 2019 7:53 am

Hi,

Thanks for your reply.
Once there is any progress on this issue, we will inform you ASAP.
Sorry for the inconvenience caused.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Fri Dec 20, 2019 11:35 am

Hi,

Hope you are doing well.
Glad to inform you that the previous issue has been resolved in Spire.Office Platinum (DLL Only) Version:4.12.6, the AlternativeTextTitle and AlternativeText of the picture in Excel file could be got correctly now. Welcome to download and test it from the following links.
Our website link:https://www.e-iceblue.com/Download/download-office-for-net-now.html
NuGet link: https://www.nuget.org/packages/Spire.Office/4.12.6

Below is the code for you.
Code: Select all
            Worksheet worksheet = workbook.Worksheets[0];
            foreach (ExcelPicture pic in worksheet.Pictures)
            {
                Console.WriteLine(pic.AlternativeTextTitle);
                Console.WriteLine(pic.AlternativeText);
            }
            Console.Read();

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Wed Dec 25, 2019 9:59 am

Hi,

Greetings from E-iceblue.
Have you tried Spire.Office Platinum (DLL Only) Version:4.12.6? Does it solve your issue?
Could you please give us some feedback at your convenience?

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Fri Dec 27, 2019 10:10 am

Hi!
Yes Yes. I changed the version and the problem was solved.
Thank you!

LauraNM
 
Posts: 77
Joined: Tue Feb 19, 2019 1:23 pm

Mon Dec 30, 2019 1:25 am

Hi,

Thanks for your feedback. Sorry to reply late for weekend.
Any question, welcome to contact us. Have a nice day.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.XLS