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

Free Support Forum - aspose.com

SmartArtNode alternative text #606

In a attached file test.pptx.zip (29.1 KB)
i have smart-Art shape, that has alternative text and i can get that text, but i can’t get alternative text from his nodes, you can see the text im trying to get in the screen-shot .alternative text in top shape.PNG (20.0 KB)

Here is the code I’m using:

Presentation presentation = new Presentation("test.pptx");
ISlide slide = presentation.getSlides().get_Item(0);
IShapeCollection shapes = slide.getShapes();
SmartArt shape = (SmartArt) shapes.get_Item(0);
ISmartArtNodeCollection nodes = shape.getAllNodes();
ISmartArtNode smartArtNode = nodes.get_Item(0);

Is there a way to get alternative text from smartArtNode?



I have observed your requirements and regret to share that at present the support for alternative text property for SmartArt node is unavailable in Aspose.Slides. An issue with ID SLIDESJAVA-36476 has been created as new feature request in our issue tracking system to provide requested support. This thread has been linked with the issue so that you may be automatically notified once the feature will be available.

Many Thanks,

Mudassir Fayyaz