Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I've created my own stencil and a set of classes to work on creating and reading Ms Visio Pages. My objective now is to know which are the 2D shapes of a connector on the start and end of it.

So far I've tried using the
C#
shape.GluedShapes(Visio.VisGluedShapesFlags.visGluedShapesAll2D, "");
method but when I get the shapes using
C#
shape.ContainingPage.Shapes.get_ItemFromID((int)ids.GetValue(X));
considering X as the index of the id array which is 0 or 1 is irrelevant which is the starting shape and the end shape.

Is there any other way to obtain this information?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900