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

Free Support Forum - aspose.com

Changing text in SmartArtShape

Hello. When I try to change the Text in SmartArtShape the text doesn’t change. I can change text in SmartArtNode, but I can’t do it in SmartArtShape. Please, help me with this problem.

Hey. Could you share a code snippet how are you trying to do that?

image.png (1.3 KB)


I have observed your comments. Can you please share source file along with sample project so that i may further investigate on my end to help you out.

Here is my test file test.zip (33.7 KB).
And here is my test code:
String file = “test.pptx”;
String resultFile = “resultTest.pptx”;
Slides.Presentation presentation = new Slides.Presentation(file);
SmartArt smartArt = (SmartArt)presentation.Slides[0].Shapes[0];
smartArt.Nodes[0].Shapes[0].TextFrame.Text = “text”;


I have worked with sample code shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-40769 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Thank you for helping.

The issues you have found earlier (filed as SLIDESNET-40769) have been fixed in this update.