Author Topic: Calling autolayout from code  (Read 433 times)

abulka

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Calling autolayout from code
« on: May 18, 2006, 12:09:20 am »
Is there a way of calling autolayout from code (using the automation interface)?

I was hoping for something like Diagram.Autolayout() but it doesn't exist?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Calling autolayout from code
« Reply #1 on: May 18, 2006, 05:00:14 am »
Call LayoutDiagram() or LayoutDiagramEx() from the project interface. The latter is preferred.

You'll have to play around with them a little before you see how the documentation maps to the functionality. Then you'll have to play around a lot to see how the arguments map to the results.
No, you can't have it!