Getting text from shape

Hello,
I’m using aspose words in my net core app and I get docs with shapes and I need to know the text in them…
How can I do it with aspose?

OK I found the method for it haha
shape.GetText()

thank you anyway

@Jopa,

You can also do it like this:

Shape shape = (Shape) doc.GetChildNodes(NodeType.Shape, true)[0];
Console.WriteLine(shape.ToString(SaveFormat.Text));