28-08-2013 01:17 PM
How can I, using the Diagram API, move the endpoints of a ModeLink-DrawingItem (or a DrawingLink)? Neither setting the bounds (top, left, height, width) not by setting the coordinates of the “DrwLine_Points”-Points works.
Solved! Go to Solution.
02-01-2014 02:03 PM
Hello Ralf
There is indeed no function for this.
A solution is to add extra points and keep original extremitives with orthogonal lines
See the article Diagram API Tutorial (MEGA 2009 SP5) page 6
Extract
Modifying the points of a line is done via a special interface. To be successful, the new points
collection must keep the original extremities coordinates (the first and the last points). If the
line is orthogonal, extra care must be taken to ensure that the new point collection is
orthogonal; otherwise the line points will be reset.