Author Topic: Undocumented method parameter  (Read 3036 times)

x_honzi

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Undocumented method parameter
« on: May 12, 2009, 10:48:13 pm »
Hi could anyone please explain me what means first method add new parameters? I can't  find it anywhere. This is example from EA help file: "Add and Manage Diagrams". I tried several numbers and found no difference. I've thought that it means some coordinates: (l)eft, (r)ight, (t)op, (b)ottom. It is undocumented or I can't simple find it. What exactly it manage when you wanna include element in diagram by this known code?

v = diagram.DiagramObjects.AddNew("l=200;r=400;t=200;b=600;","")

   v.ElementID = o.ElementID

   v.Update

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13288
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Undocumented method parameter
« Reply #1 on: May 12, 2009, 11:16:23 pm »
Seems like it is documented since you found it in the ... documentation. ;D
Anyways, it could always be that this first parameter is not used anymore, but the code sample was never adjusted.

Geert