Ok, I simplified the application a bit as to illustrate things.
Attached you will find a Visio file test.vsd.
The Trend1.38 object has several shapes. In Visio, they all have a specific name.
When reading the Visio in Aspose.Diagram, the names of the subshapes disappear and are blank.
The code ( consoelapplication ) is attahced below.
I am using Visio 2013.
This problem is really very difficult to handle as the names of the shapes sometimes disappear.
Public license As Aspose.Diagram.License = New Aspose.Diagram.License()
Public asposelicensestring As String = My.Computer.Registry.GetValue(“HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MWorks”, “AsposeDiagramLicense”, “”)
Dim d As Aspose.Diagram.Diagram
d = New Aspose.Diagram.Diagram(“D:\test.vsd”)
For Each s As Aspose.Diagram.Shape In d.Pages(0).Shapes
If Split(s.Name.ToUpper, “.”)(0).StartsWith(“TREND”) Or (s.Master IsNot Nothing AndAlso Split(s.Master.Name.ToUpper, “.”)(0).StartsWith(“TREND”)) Then
For Each ss As Aspose.Diagram.Shape In s.Shapes