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

Free Support Forum - aspose.com

shapes.GetShape function

dear aspose.diagram support


I have developed my Visio’s in Visio 2013 and am saving as vsd format.
When opening in Visio, all shapes have a distinct ID.

Occasionally, when I open the vsd file in Aspose.diagram, the ID’s dont match anymore and Shapes.getShape(ID) returns Nothing when using the original ID’s.

Does this sound familiar ?? Any thoughts on this ?

I am using Aspose.Diagram 5.2.0.0


Hi Guido,


Thank you for contacting support. It appears a bug. You are using quite an old version of the Aspose.Diagram API. Please download and use the latest version 17.01 of Aspose.Diagram for .NET API and let us know how that goes on your side. If the latest version 17.01 does not return a shape by its original ID, then please send us your VSD drawing and an original shape ID. We’ll investigate and reply you appropriately. Your response is awaited.