Book a Demo

Author Topic: Access imgL, imgT, imgR and imgB  (Read 5238 times)

EA_geek

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Access imgL, imgT, imgR and imgB
« on: December 02, 2016, 04:05:12 pm »
Hello Team,

When I export a package as XMI

I see a tag

Code: [Select]
<UML:DiagramElement geometry="Left=49;Top=134;Right=94;Bottom=224;imgL=45;imgT=63;imgR=90;imgB=153;" subject="EAID_35B7E059_DD82_4d0a_B879_29FD9E0C9066" seqno="1" style="DUID=A6FA7E78;"/>
with in <UML:Diagram.element> where all the diagram objects are listed.

I wonder how do I get the imgL, imgT, imgR and imgB value using API?

DiagramObject.Left returns the value of Left=49. But I need is the image co-ordinates

http://sparxsystems.com/forums/smf/index.php/topic,4780.msg121955.html#msg121955  . I found this thread but it was discussed on 2013 any updates in EA 13 ?

Thanks in advance.
« Last Edit: December 02, 2016, 04:19:40 pm by EA_User_India »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Access imgL, imgT, imgR and imgB
« Reply #1 on: December 02, 2016, 08:41:03 pm »
It's diagramObject.top/bottom/left/right

q.