We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Absolute shape coordinates

Hello,


I don’t know if it’s possible to have the absolute coordinates of the shape (PinX & PinY) especially if the shape is in a group.
I know for a fact the values returned for a shape in a group are relative to the shape parent.But adding the parent pinX to the shape pinX and the same for PinY doesn’t work all the time.
I did some research and I did found that there is a function called XYtoPage and I wonder if there anything like that in your methods.

Hi Achraf,


Thank you for contacting us and using Aspose.Diagram APIs. We can calculate PinX and PinY values of the sub shape. Please refer to the following help topic: Calculate PinX and PinY Values of the Sub Shape

Thanks Imrane for the Help.It’s exactly what I needed.