‎03-07-2018 07:13 AM
Hi all,
We have a macro which creates application centric diagram (based on message flows in the system). But the siz of the objects on the diagram is set by default. We want to find a way to set the size of the object to a specific value. Any leads would be appreviated
Regards,
Nikhil
‎05-07-2018 03:21 PM
Hello Nikhil,
with diagram API, you can do this easily.
Just use the setPos command on your drawingItem :
myDrawingItem.SetPos LefPosition, TopPosition, RightPosition, BottomPosition
Regards,
Lionel
‎05-07-2018 03:01 PM
Hello,
You have 2 options about the shapes of the object on the diagrams :
* either you changes the default MGS shapes file
* or you use the API to custom the size. The Mega Drawing API allow to manage the size at creation, or loading of the diagram.
I hope this help