Question: What command do I use to resize/scale a group programatically like the diagram view does when you drag the handle bars (i.e. obey ResizeInAggregate property of child shapes)?
Explanation: I have a complex object of a main shape and several child shapes around it's perimeter. Like:
The child shapes have all their ResizeInAggregate property set to RepositionOnly. So I only want to resize the main shape and re-position the child shapes. This works fine in the diagram view when I resize by dragging the handles:
But at times I need to programatically do it. When I tried to scale the group with
public virtual void Scale(CoordinateSystem system, float scaleX, float scaleY, NPointF pin);
it scaled the child shapes and not just re-positioned them. Like it ignored the ResizeInAggregate property:
I must be missing something.
Thanks in advance.