I have added a rectangle to my slide using the sample code from the documentation.
//Add autoshape of rectangle type
int idx = sld.Shapes.AddAutoShape(ShapeTypeEx.Rectangle, 50, 150, 150, 50);
ShapeEx shp = sld.Shapes[idx];
This does add the rectangle but it always seems to add it in the same place on the slide. I would expect that he four integers that are part of the code (in this case 50, 150, 150, 50) would position the rectangle on the slide but when I change them it does not seem to make a difference to the final position of the rectangle.
What am I missing? What do I need to do to position the rectangle?