Hi. How I can get correct coordinates of shape inside grouped shape? I found this topic Absolute shape coordinates, there are link: https://docs.aspose.com/display/diagramnet/Calculate+Pin+Values+and+Setting+Size+of+a+Shape
But this code example is legacy (property OffsetX or OffsetY don’t exist).
// Get pinx and piny
double pinx = m.OffsetX;
double piny = m.OffsetY;
For example we have two files. Different between them is that in second file shapes are grouped, so, has another coordinates.
First file, first shape has (non grouped):
PinX: 4.1732283464566926
PinY: 8.1692913385826742
Second file, first shape (grouped):
PinX: 1.1811023622047243
PinY: 2.8543307086614149
I need that PinX of grouped shape would be 4.1732283464566926 instead of 1.1811023622047243 and 8.1692913385826742 instead of 2.8543307086614149. Can you share working sample code how I can do this?
Test1.zip (39.6 KB)