Book a Demo

Author Topic: Setting connector line style  (Read 3083 times)

Krzysztof Swiatkowski

  • EA User
  • **
  • Posts: 76
  • Karma: +0/-0
  • Understanding is a three-edged sword
    • View Profile
Setting connector line style
« on: July 07, 2008, 09:01:14 am »
Hi,

how can I change line style in the Addin, e.g. from Direct to Tree Vertical or Horizontal.
I tried
Code: [Select]
connector.RouteStyle = <number>;
connector.Update();
but it didn't work :(

Kris
If I put you finger in the eye
then you have finger in the eye
and I have finger in the eye
but it's not the same

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Setting connector line style
« Reply #1 on: July 07, 2008, 09:21:22 am »
You'll need to modify the DiagramLink.Style, the value you set is overridden on each diagram.

I had Mode=1 become Mode=3 and TREE=V;.

Look at some examples to see exactly what you need.
« Last Edit: July 07, 2008, 09:22:41 am by simonm »