I’m using a .NET 4.0 demo copy of Aspose.Slides.dll (File version 188.8.131.52, Production version 2011.12.28) to read an Office 2010 PowerPoint that has single slide with a default SmartArt graphic of Organization Chart (5 nodes).
I’m able to enumerate through the slide’s Shapes collection (SlideEx.Shapes) to access the SmartArt org chart by casting the shape to DiagramEx.
I would like to know how to access the text property of each node (DiagramNodeEx objects in the AllNodes collection).
When I tried to access the TextFrame.Text property of the node, I get a null reference exception. Please see attached code snippet (AsposeSlides_CodeSnippet.txt).
My question is how can I access the text property inside a SmartArt graphic node?