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?
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.Shapes;
smartArt.Nodes.Shapes.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.