It seem that it is not possible to move a group shape by changing its X and Y values.
Here is a sample code. Sample template is enclosed.
private void button5_Click(object sender, EventArgs e)
PresentationEx pres = new PresentationEx(@“C:\temp\grouptesttemplate.pptx”);
// Shape 0 is a group shape. Setting its coordinated has no effect
ShapeEx s = pres.Slides.Shapes;
s.X = 0F;
s.Y = 0F;
//Casting to GroupShape does not work either
//GroupShapeEx g = (GroupShapeEx)s ;
// g.ShapeLock.PositionLocked = false;
// g.X = 0;
// Here a normal shape is moved around. This works
s = pres.Slides.Shapes;
s.X = 600F;
s.Y = 500F;
Is there any workarounds?