Changing the Diagram Layout from down to up in Enterprise Architect via C# API

139 views Asked by At

How can I change the layout direction of a diagram in Enterprise Architect via C# to get the same result as displayed in the picture:

Setting the direction of a layout via EA GUI

1

There are 1 answers

0
qwerty_so On BEST ANSWER

You need to set t_diagram.StyleEx so it contains d=<n>; where <n> is

Up = 0, Down = 1, Left = 2, Right = 3

(see also my Inside EA book in p. 61)