Hi Aspose Support.
I’m having troubles getting shape coordinates. Using the following code on attached document:
NodeCollection shapeList = asposeDocument.getChildNodes(NodeType.SHAPE, true);
(…)
for (GroupShape groupShape : groupShapeList) {
LOGGER.debug("Shape type: " + shape.getShapeType());
LOGGER.debug("Shape name: " + shape.getName());
LOGGER.debug("Shape shape.getCoordOrigin().getX(): "+shape.getCoordOrigin().getX());
LOGGER.debug("Shape shape.getCoordOrigin().getY(): "+shape.getCoordOrigin().getY());
I am getting this:
[main]16:06:14.222 [DEBUG] c.b.c.c.p.impl.DocumentProcessor - Shape type: 75
[main]16:06:14.222 [DEBUG] c.b.c.c.p.impl.DocumentProcessor - Shape name:
[main]16:06:14.222 [DEBUG] c.b.c.c.p.impl.DocumentProcessor - Shape shape.getCoordOrigin().getX(): 0.0
[main]16:06:14.238 [DEBUG] c.b.c.c.p.impl.DocumentProcessor - Shape shape.getCoordOrigin().getY(): 0.0
Is it another way of getting Shape coordinates?
Thank you,
Thank you,
Kind regards,
Michał Wasiak