Hi,
After plotting shapes on a Diagram and grouping them, the position of all grouped shapes gets reset and all items end up on top of each other.
Please see the image below. The highlighted shape is a stack of shapes. I’ve dragged a few shapes off that stack, which are now surrounding it. It also seems to move the text from the middle of the shape to half way out of the shape at the bottom.
I’m not sure if this is a bug or I am doing something incorrect. Any assistance would be appreciated.
Thanks,
Shaun.
Hi Shaun,
Hi Imran,
I’ve attached the code in the form of a text file. Any drawing can be used for this. Plotting is normal and working 100% until I group and add an angle, after that all shapes positions get reset to the bottom left of the group.
Let me know if you’re unable to replicate.
Thank you,
Shaun.
Hi Shaun,
Hi Imran,
What I am looking to do is rotate a group of shapes together. I’ve grouped my shapes (In the source code), but rotating my group using group.SetAngle() causes them to reset PinX and PinY positions. (See first post)
Below is an image before rotating the gorup. If I rotate the group via Visio it works fine.
Hi Shaun,
Hi Imram,
I’ve attached a console application, stencil, and blank template.
Please note that it’s the group.SetAngle() method that causes the issues. You may comment/un-comment it to see the difference.
Thanks,
Shaun.
Hi Shaun,
Attached. Sorry about that.
Hi Shaun,