Thanks for your inquiry.
In the latest verison of Aspose.Words, DrawingML objects are now loaded into a DrawingML class instead of a Shape class. This is the reason why you can't find the image by interating through the shapes inusing your current code. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I'm afraid, the current version of Aspose.Words the DrawingML class does not yet provide many public methods to interface with the object's properties that can be used with a traditional Shape object. There is no way to find the name of a DrawingML object yet. However this hopefully will be supported within the next release or the one after it. We will inform you of any developments.
In the mean time you can still work around this issue by first saving the document to DOC format in memory. Please see the code below.
Document doc = new Document("youDoc.docx");
// Convert DOCX to DOC to get access to images.
MemoryStream docStream = new MemoryStream();
doc = new Document(docStream);
// Get all shapes in the document.
NodeCollection shapes = doc.GetChildNodes(NodeType.Shape, true);
// Loop through all shapes.
foreach (Shape shape in shapes)
// Working with shape
If we can help you with anything else, please feel free to ask.