connect shapes

A

alinaa

I am trying to connect 2 shapes (rack and server), programatically from C#.
Can you suggest some documents or samples about how this can be done? And
after that, how can I set some properties for a rack (like number of "U").

Thanks
 
J

John Goldsmith

You could glue them or add them to a group shape.

Check out the following link:

Developing Visio Solutions - Automating Connections

http://msdn2.microsoft.com/en-us/library/aa201779(office.10).aspx

Also the Visio SDK has a number of samples in c#:

http://www.microsoft.com/downloads/...b8-5ef7-4e6e-a582-c8d6b5ee4e33&displaylang=en

For the "U" question, have you had a look at the ShapeSheet of the Rack
shape found in the Network / Rack Diagram template?

Hope that helps.

Best regards

John


John Goldsmith
www.visualSignals.co.uk
 
D

David Parker

...and I have code example (in VBA) for connecting rack equipment to racks in
my book!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top