« Editable Isometric test with CSS3 | Main | Visio 2013 - Crazy Delicious »
Sunday
Jul222012

A note on using my VisioAutomation library with the Visio 2013 Preview  

After installing Visio 2013 Preview I wanted to see how my VisioAutomation library handled the new version.

The good news is that it works, there aren't any fundamental compatibility problems that I see.

There is one thing you need to know: In the Visio 2013 technical preview the “Dynamic Connector” master is no longer in the Basic Shapes stencil. Instead you'll have to find that “Dynamic Connector” is in the Connectors stencil (“connec_u.vss”).

I'll be fixing my unit tests not to rely on Basic Shapes any more so moving forward to Visio 2013 should be easy.

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (2)

You can get the connector without opening a stencil, using Application.ConnectorToolDataObject Property.

For example:


// Get a Visio application instance:
Vis.App visApp = new Vis.Application();

// Get the connector object:
object objConn = visApp.Application.ConnectorToolDataObject;

// Drop a connector on a page and save the shape reference:
Vis.Shape shpConn = visApp.ActivePage.Drop( objConn, 0, 0 );

September 20, 2012 | Unregistered CommenterChris Roth

@Chris - Sweet. I was not aware of the ConnectorToolDataObject property. I will try that out.

September 20, 2012 | Registered Commentersaveenr

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>