How do I create a GroupShape?
I can load an existing ppt file with groups in it - and the Shapes collection has a GroupShape, that contains it's own Shapes property, holding the shapes in that group.
But I need to generate a group through code, and can't figure out how to do that.
GroupShape doesn't have a constructor, and Shapes doesn't have a AddGroup or similar method.
I.e. - I thought the following would be the way to do it - but as I said - there is no AddGroup method.
Aspose.Slides.Presentation presentation = new Aspose.Slides.Presentation();
Aspose.Slides.Slide slide = presentation.AddEmptySlide();
Aspose.Slides.GroupShape group = slide.Shapes.AddGroup();
Aspose.Slides.Rectangle rectangle = group.Shapes.AddRectangle(100, 100, 1000, 1000);
Aspose.Slides.Ellipse ellipse = group.Shapes.AddEllipse(200, 200, 2000, 1000);