We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

SyncFusion.Presentation - access to Alt Text?

I've searched through the API docs and cannot find any way to access the Alt Text for any Presentation object.
Does this capability exist?

1 Reply

VA Vijayasurya Anandhan Syncfusion Team September 5, 2019 11:08 AM UTC

Hi Bob,


Thank you for contacting Syncfusion support.

Yes, Essential Presentation library has the capability to access and edit the alt text of each presentation object in the slide.

Our Essential Presentation library use Description API to get or set the alt text value for each presentation object present in the slide.

For better understanding, we have prepared a sample to meet your requirement in which we have done the following things.

1. Created a template PowerPoint presentation with table, picture, OleObject etc., with alt text for each object.

2. Opened the presentation using Essential Presentation Library.

3. Iterated each shape of each slide available in the presentation.

4. Checked whether the shape is OleObject and description (alt text) of the corresponding shape is same as in the template presentation. If it is so, modified the description (alt text) value.  

5. Saved the PowerPoint presentation.

Please download the sample from the below link:
https://www.syncfusion.com/downloads/support/forum/147277/ze/Alt_text_sample-828475460.zip

Please let us now if you need further assistance in this.

Regards,
Vijayasurya A  


Loader.
Live Chat Icon For mobile
Up arrow icon