Change connector style....

A

ahmadka

OK, now I am able to 'drop' shapes onto a visio page, and I am able to
connect the shapes together too...

I want to know how I can change the connector style...right now, when I
connect 2 shapes, the 'Right Angled connector' is being used. I want to use
the 'straight connector' instead. How can I do this in C# ?
 
J

JuneTheSecond

Please use madro record function.
You could get program like,,,

Dim UndoScopeID1 As Long
UndoScopeID1 = Application.BeginUndoScope("straight connector")

Application.ActiveWindow.Page.Shapes.ItemFromID(3).CellsSRC(visSectionObject,
visRowShapeLayout, visSLOLineRouteExt).FormulaU = 1

Application.ActiveWindow.Page.Shapes.ItemFromID(3).CellsSRC(visSectionObject,
visRowShapeLayout, visSLORouteStyle).FormulaU = 16
Application.EndUndoScope UndoScopeID1, True
 
A

ahmadka

thanx a lot dude...it worked !! But what do the values 1 and 16 stand for ?
And do you know any website where I can learn the Visio SDK from if I plan to
use it in C#?
 

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