Hi,
I am using OleObjectFrame to embed chart on presentation (2007/.pptx). But i want to send OleObjectFrame to back so that behind images can be visible.
I found that for Shape there is zOrder method to set the same but for ShapeEx i am not able to find any.
Please let me know how can i resolve this.
Thanks,
Amit
Hi Amit,
The ShapeExCollection class exposes Reorder() method to set the order of shapes. Please use the following code snippet for your reference.
PresentationEx pres=new PresentationEx(“Test.pptx”);SlideEx slide=pres.Slides[0];ShapeExCollection shapes=slide.Shapes;shapes.Reorder(2, shapes[2]);pres.Write(“NewPres.pptx”);
Many Thanks,