Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Mon Mar 26, 2018 12:39 pm

Hi guys,

I have an existing pptx where some shapes have Alt text's title specified (see screenshot).
However when I load this pptx I got empty alt text. I believe this is a bug, woul appreciate if you can fix it in timely fashion

I have attached sample pptx (renamed to zip) to reproduce this issue.

Regards.

Stecya
 
Posts: 27
Joined: Wed Jan 10, 2018 2:36 pm

Tue Mar 27, 2018 6:00 am

Hello,

Thanks for your inquiry.
Kindly note the property AlternativeText represents the content of Description rather than the Title in ALT TEXT option. Please add text into the Description and try again. The Title property has not been made public yet, we will consider making it available, and let you know when it is doable.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1182
Joined: Tue Sep 27, 2016 1:06 am

Thu Apr 19, 2018 9:34 am

Hello,

Thanks for your patient waiting.
Now the AlternativeTitle attribute has been made public in latest version Spire.Presentation Pack Hotfix Version:3.4.6. Welcome to download.
sample code:
Code: Select all
//Get AlternativeTitle
string title = ppt.Slides[0].Shapes[0].AlternativeTitle;
//Set AlternativeTitle
ppt.Slides[0].Shapes[0].AlternativeTitle = "Table";

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1182
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.Presentation