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

Free Support Forum - aspose.com

Set connectors to never reroute

I am adding shapes to a vdx diagram, and connecting them to other, existing shapes.

I then save and open the file in VISIO Viewer, which looks great.
However, once I download a copy and open the file in VISIO, the newly added connections are rerouted, and look terrible. How can I set the connectors to never reroute?

This appears to be what I need, but your documentation of properties only define them. They do not show you how to use them, so it’s very unhelpful…

Partially related: It appears that the xy coordinates used in Visio Viewer and Visio do not match. Shapes that are placed correctly in Visio Viewer are shifted out of place when the file is downloaded. This is not a big issue atm. I just wanted to bring it to your attention.

Please give me some example code on how to use ConFixedCodeValue, or some other property to set ALL CONNECTIONS in my visio file to not reroute.

Hi Richard,

Thank you for contacting support. Please refer to the help topic, which helps to connect various shapes using connectors: http://www.aspose.com/docs/display/diagramnet/Add+and+Connect+Shapes

In case, it does not help, then please provide us the source Visio diagram along the sample code you’re executing. We’ll check and guide you accordingly.

I am one of the developers, working with Richard who created the original post.

I don't have the source available atm, but I don't think it is needed. It is almost identical to the example link you posted.

I'd just like to know how to set the connectors to never reroute.

This link describes how to achieve this within VISIO.

This link appears to be the aspose property that I need, but I am unsure how to properly set it.

Could you supply some example code, setting the ConFixedCodeValue property for a connector?


Thank you for the inquiry. Well, we have added a help topic, please refer to this page:

In case, you are generating a Visio drawing using Aspose.Diagram API and it looks perfect in Visio Viewer but not same in Microsoft Office Visio, then please provide us the source Visio drawing and sample code. We’ll check and guide you accordingly.