Some shapes in vsdx file have empty geometry collection and width = double.MinValue


#1

Some shapes in vsdx file have empty geometry collection and width = double.MinValue


see attached vsdx file

#2

And some line on diagram incorrect by export to svg. see picture.


#3

Hi Yuriy,

pavlov:
Some shapes in vsdx file have empty geometry collection and width = double.MinValue
Thank you for contacting support. We could not notice geom value of the selected shape manually as shown in the Visio drawing. Please provide exact steps or details of Microsoft Office Visio. We’ll check and guide you accordingly.
pavlov:
And some line on diagram incorrect by export to svg. see picture.
We managed to replicate the problem of incorrect layout of connected lines. This problem has been logged under ticket id DIAGRAMNET-50274 in our issue tracking system. Your request has also been linked to this issue. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.


#4

>> We could not notice geom value of the selected shape manually as shown in the Visio drawing


I not select shape manule.


1.

I use foreach for all shape collection on diagram.

And a lot of shape have width = double.minValue.

2.

Shape with id = 173 with all subshapes, have not empty Geoms collection.

But all CoordinateCol collection of this Geoms are empty.

#5
Hi Yuriy,
pavlov:
I use foreach for all shape collection on diagram.
And a lot of shape have width = double.minValue.

Shape with id = 173 with all subshapes, have not empty Geoms collection.
But all CoordinateCol collection of this Geoms are empty.
Thank you for posting these details. We managed to replicate the issues said. These issues have been logged under ticket id DIAGRAMNET-50277 and DIAGRAMNET-50278 in our issue tracking system. Your request has also been linked to these issues. We'll keep you informed regarding any available updates. We're sorry for the inconvenience caused.


#6

The issues you have found earlier (filed as DIAGRAMNET-50278) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

#7

Hi Yuriy,


Thank you for being patient. Please use this sample code:

[C#]
Diagram diagram = new Diagram(@“C:\temp\original.vsdx”);
foreach (Shape shape in diagram.Pages[0].Shapes)
{
foreach (Shape subshape in shape.Shapes)
{
if (subshape.MasterShape != null )
{
foreach (Geom geom in subshape.MasterShape.Geoms)
{
foreach (Coordinate coordi in geom.CoordinateCol)
{
Console.WriteLine(coordi.GetType());
}
}
}
}
}

Please feel free to reply us in case of any confusion or questions.


#8

The issues you have found earlier (filed as DIAGRAMNET-50274) have been fixed in Aspose.Diagram for .NET 19.7.