Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Visio Connector Mode enable programmatically

$
0
0

Hello All,

There are two different things I would like to do.

1. Add the Connector button to a custom ribbon tab (and group).
I have tried looking through myRibbon.Tabs list, and I only get the custom tabs. I can't seem to find a collection including the builtin tabs. Is there one, and if so, how do I programmatically traverse it?

2. Enable the Connector button programmatically.
I would like to be able to activate the Connector Mode so that the user can then draw connections among objects. I looked at Application.ConnectorToolDataObject, but that appears to be the type of object used, not the mode itself.

For the record, I am familiar with C#, VB.NET, and VBA, but can usually guess my way through just about any .NET framework language, so feel free to use whatever you are most familiar with.

Thanks!


Viewing all articles
Browse latest Browse all 2257

Trending Articles